Skip to main content

~/algor $ cat contests/round-7/BB

BB. Area between three circles

Problem BB ICPC rules 1000 ms 64 MB

Three equal circles of radius touch each other externally in pairs. Find the area of the figure left between them, bounded by three arcs. Take .

Three circles of radius R touching each other in pairs and the highlighted figure between them

Input

One positive integer .

Output

One number — the area of the figure, with exactly 2 digits after the decimal point (for example, 1.44).

Note

Examples

Input #1
2
Output #1
0.65
Input #2
10
Output #2
16.13

Sign in to submit a solution

Signing up is free and takes a minute.