from math import pi



r = float(eval(input()))



print(("{:5f} {:5f}".format(pi*r**2, 2*pi*r)))
import math



r = float(eval(input()))



c = 2*math.pi*r

s = math.pi*(r**2.0)



print(("{:.5f} {:.5f}".format(s, c)))

from math import pi

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

import math

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

-from math import pi +import math -print(("{:5f} {:5f}".format(pi * r**2, 2 * pi * r))) +c = 2 * math.pi * r +s = math.pi * (r**2.0) +print(("{:.5f} {:.5f}".format(s, c)))