eolymp
bolt
Try our new interface for solving problems
Problems

Interesting polygon

Interesting polygon

prb3532 Vasya drew a convex polygon with sides of length 1, 2, 3, ..., n (4n30), and then built the circle around it. Find the radius r of the circle drawn around the polygon by Vasya.

Input

Number of sides n in a polygon.

Output

Print radius r of a circle with 8 digits after the decimal point.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
Output example #1
2.71756723