Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/gradusdan-radianga

Degrees to radians

Easy 1000 ms 64 MB 12%
Share

The degree measure $d$ of an angle is given. Find its radian measure $\alpha$:

$$\alpha = \frac{d * \pi}{180}$$

Use $\pi = 3.141592653589793$.

A central angle of a circle: its degree measure d is given; the radian measure alpha is the arc the angle cuts off

Input

One integer $d$.

Output

One number — $\alpha$, with exactly 4 digits after the decimal point (for example, 0.7854).

Note

$0 \le d \le 360$

Examples

Input #1
180
Output #1
3.1416
Input #2
45
Output #2
0.7854

Sign in to submit a solution

Signing up is free and takes a minute.