""" """ import math r = int(input()) print("%.6f"%round(r**2*math.pi,6)) print("%.6f"%round(2*r**2,6))