from math import pi

r=float(eval(input()))

print(("{} {}".format(r*r*pi,2*pi*r)))

from math import pi



r = float(eval(input()))



# 面積

circle_area = r * r * pi

# 円周

circumference = 2.0 * r * pi



print(("{} {}".format(circle_area, circumference)))

from math import pi

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

from math import pi

r = float(eval(input()))
# 面積
circle_area = r * r * pi
# 円周
circumference = 2.0 * r * pi
print(("{} {}".format(circle_area, circumference)))

-print(("{} {}".format(r * r * pi, 2 * pi * r))) +# 面積 +circle_area = r * r * pi +# 円周 +circumference = 2.0 * r * pi +print(("{} {}".format(circle_area, circumference)))