M777 Howitzer#881

M777 Howitzer

2 seconds
64 megabytes
Easy

When solving ballistic problems, it is necessary to take air resistance into account. Suppose that the force of air resistance is proportional to the square of the modulus of the projectile's velocity and is directed opposite to the velocity. Assume that the proportionality coefficient of the air resistance force to the square of the velocity is constant. Calculate the range of a projectile (accurate to meters) when fired from a -millimeter M777 howitzer at a specified angle to the horizontal. The mass of the projectile is kg, and the initial velocity is m/s. It is also known that when firing at an angle of degrees, the range is m. Take the acceleration due to gravity as m/s^2.

Input

The first line contains a single real number — the angle in degrees ( to degrees).

Output

Output a single integer — the range in meters.

Examples

Example 1

Loading
Loading