import math r = int(input()) print(r**2 * math.pi) print(r**2 * 2)