# https://www.acmicpc.net/problem/3053 문제 제목 : 택시 기하학 , 언어 : Python, 날짜 : 2019-11-05, 결과 : 성공

import sys
import math
R = int(sys.stdin.readline())

print(round(3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954 * R**2, 6) )
print(2 * R**2)

0cc6c7de6bd3101c10a88ac088536ab90ab3ced6
<mask token>

<mask token>
print(round(3.141592653589793 * R ** 2, 6))
print(2 * R ** 2)

<mask token>
R = int(sys.stdin.readline())
print(round(3.141592653589793 * R ** 2, 6))
print(2 * R ** 2)

import sys
import math
R = int(sys.stdin.readline())
print(round(3.141592653589793 * R ** 2, 6))
print(2 * R ** 2)

# https://www.acmicpc.net/problem/3053 문제 제목 : 택시 기하학 , 언어 : Python, 날짜 : 2019-11-05, 결과 : 성공

import sys
import math
R = int(sys.stdin.readline())

print(round(3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954 * R**2, 6) )
print(2 * R**2)
