pi = 3.1415926535897932

r = float(eval(input()))

print((r * r * pi, 2 * pi * r))
pi = 3.141592653589793238

r = float(eval(input()))

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

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

-pi = 3.1415926535897932 +pi = 3.141592653589793238