D-44
When addressing ballistic problems, it's essential to consider air resistance. Assume the air resistance force is proportional to the square of the projectile's velocity and acts in the opposite direction. Given that the proportionality coefficient of the air resistance force to the square of the velocity is constant, determine the range of the projectile (accurate to 10 meters) when fired from an 85-mm D-44 gun at a specified angle to the horizon. The projectile has a mass of 9.6 kg and an initial velocity of 800 m/s. Additionally, it's known that when fired at an angle of 45 degrees, the range is 15650 meters. The acceleration due to gravity is 9.8 m/s(^2).
Input
The first line contains a single real number representing the angle in degrees (ranging from 5 to 85 degrees).
Output
Output a single integer representing the range in meters.