import math



r = float(eval(input()))



s = r*r*math.pi

v = 2*math.pi*r



print(("{:f} {:f}".format(s, v)))
import math



r = float(eval(input()))



s = r**2*math.pi

v = 2*math.pi*r



print(("{:f} {:f}".format(s, v)))
import math

r = float(eval(input()))
s = r * r * math.pi
v = 2 * math.pi * r
print(("{:f} {:f}".format(s, v)))

import math

r = float(eval(input()))
s = r**2 * math.pi
v = 2 * math.pi * r
print(("{:f} {:f}".format(s, v)))

-s = r * r * math.pi +s = r**2 * math.pi