Start

2022-01-01 01:00 AKST

Mim-Week1

End

2022-01-08 01:00 AKST
The end is near!
Contest is over.
Not yet started.
Contest is starting in -140 days 2:36:42

Time elapsed

168:00:00

Time remaining

0:00:00

Problem N
A Real Challenge

/problems/areal/file/statement/en/img-0001.jpg
Cow image from Pixabay
Old MacDonald had a farm, and on that farm she had a square-shaped pasture, and on that pasture she had a cow that was prone to escape. So now Old MacDonald wants to set up a fence around the pasture. Given the area of the pasture, how long a fence does Old MacDonald need to buy?

Input

The input consists of a single integer $a$ ($1 \le a \le 10^{18}$), the area in square meters of Old MacDonald’s pasture.

Output

Output the total length of fence needed for the pasture, in meters. The length should be accurate to an absolute or relative error of at most $10^{-6}$.

Sample Input 1 Sample Output 1
16
16
Sample Input 2 Sample Output 2
5
8.94427190999915878564