import math



r = float(eval(input()))

circle = r * 2 * math.pi

area = (r ** 2) * math.pi



print(('{0:.5f} {1:.5f}'.format(area, circle)))
r = float(eval(input()))

pi = 3.141592653589

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

import math

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

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

-import math - -circle = r * 2 * math.pi -area = (r**2) * math.pi -print(("{0:.5f} {1:.5f}".format(area, circle))) +pi = 3.141592653589 +print(("{:.10f} {:.10f}".format(r**2 * pi, 2 * r * pi)))