import sys
import math

r = float(sys.stdin.readline().strip())
ans = math.pi * (r ** 2)
print(f"{ans:.3f}")