from math import pi



r = float(eval(input()))



s = pi * r * r



p = 2 * pi * r



print((s,p))



from math import pi



r = float(eval(input()))



s = pi * (r ** 2)



p = 2 * pi * r



print((s,p))



from math import pi

r = float(eval(input()))
s = pi * r * r
p = 2 * pi * r
print((s, p))

from math import pi

r = float(eval(input()))
s = pi * (r**2)
p = 2 * pi * r
print((s, p))

-s = pi * r * r +s = pi * (r**2)