spoj#ROLLBALL. The Rolling Ball

The Rolling Ball

Rolling Ball

Problem

A solid spherical ball of radius R rolls without slipping on the inside surface of a fixed cone, whose tip points downward. The half-angle at the vertex of the cone is u. Initial conditions have been set up so that the ball travels around the cone in a horizontal circle of radius l>R, with the points on the ball that touch the cone tracing out a circle on the ball. Determine the radius of the circle of these contact points, if you want the sphere to travel around the cone as fast as possible.

The Input

Each line of input has integers l (R < l <= 1000000) R (0 < R <= 1000) and u (0 < u < 90) given in degrees.

The Output

For each line of input, output the radius of the circle of the contact points, round to integer.

Sample Input

220000 100 29

Sample Output

46