Find the area of the region bounded by the following two parabolas: y=(x−a)2 and x=(y−a)2.
Input
The first line contains a single integer a (1 ≤ a ≤ 1018).
Output
Print the answer to the problem with exactly 10 digits after the decimal point, using the standard rounding rules.
Sample
input | output |
---|
2
| 7.6666666667
|
Problem Author: Alexey Danilyuk
Problem Source: Petrozavodsk Summer 2018. t.me/umnik_team Contest