import math

r=float(eval(input()))

print(("%.6f"%(r**2*math.pi),"%.6f"%(r*2*math.pi)))
# encoding:utf-8

import math



r = float(eval(input()))



area = r**2*math.pi

circumference = r * 2 * math.pi



area = ('%03.6f' % area)

circumference = ('%03.6f' % circumference)



print((area), end=' ')

print(circumference)
import math

r = float(eval(input()))
print(("%.6f" % (r**2 * math.pi), "%.6f" % (r * 2 * math.pi)))

# encoding:utf-8
import math

r = float(eval(input()))
area = r**2 * math.pi
circumference = r * 2 * math.pi
area = "%03.6f" % area
circumference = "%03.6f" % circumference
print((area), end=" ")
print(circumference)

+# encoding:utf-8 -print(("%.6f" % (r**2 * math.pi), "%.6f" % (r * 2 * math.pi))) +area = r**2 * math.pi +circumference = r * 2 * math.pi +area = "%03.6f" % area +circumference = "%03.6f" % circumference +print((area), end=" ") +print(circumference)