import math

r = float(eval(input()))

print(f'{math.pi*r*r:.12f} {2*math.pi*r:.12f}')

import math

rad = float(eval(input()))



print(("%.10f %.10f"%(rad*rad*math.pi,2.0*math.pi*rad)))

import math

r = float(eval(input()))
print(f"{math.pi*r*r:.12f} {2*math.pi*r:.12f}")

import math

rad = float(eval(input()))
print(("%.10f %.10f" % (rad * rad * math.pi, 2.0 * math.pi * rad)))

-r = float(eval(input())) -print(f"{math.pi*r*r:.12f} {2*math.pi*r:.12f}") +rad = float(eval(input())) +print(("%.10f %.10f" % (rad * rad * math.pi, 2.0 * math.pi * rad)))