Intersection of Parabolas

정수 a가 주어질 때 포물선 y=(x-a)^2와 x=(y-a)^2로 둘러싸인 영역의 넓이를 소수점 아래 10자리까지 구해 출력합니다.

보통6기하수학구현아직 제출이 없습니다시간 제한1초메모리 제한256 MB

문제

Find the area of the region bounded by the following two parabolas: y=(xa)2y=(x-a)^{2} and x=(ya)2x=(y-a)^{2}.

입력

The first line contains a single integer aa (1a10181 \le a \le 10^{18}).

출력

Print the answer to the problem with exactly 1010 digits after the decimal point, using the standard rounding rules.