Solve this
Fluffy the Squirrel is trying to learn addition and division. Fluffyâs teacher provided him with the following table. 1475051900-b1b84b25fb-Untitleddrawing.png The value of the above table is defined as . (Note: represents the greatest integer smaller than . E.g. ) Fluffyâs homework is to find the minimum number of 90° clockwise rotations to maximise the value of the table. A 90° clockwise rotation looks like the following: 1475052214-f613fc0760-Untitleddrawing1.png In the above example, the table's initial value is while the table's value after one rotation is . Help Fluffy with his homework! Hint: // is for floor division in Python 3, e.g. 5 / 2 returns 2.5 whereas 5 // 2 returns 2. Input Format There are two lines of input. The first line contains two integers and . The second line contains two integers and . Constraints Output Format Output an integer , the minimum number of 90° clockwise rotations needed to maximise the table's value. Sample Input 1 2 3 4 Sample Output 2 Explanation After 2 rotations, the table's value is , which is the maximum possible.