from math import pi

from decimal import Decimal

r=Decimal(eval(input()))

p=Decimal(pi)

print((str(p*r**2)+" "+str(2*p*r)))
from math import pi

from decimal import Decimal

r=Decimal(str(eval(input())))

p=Decimal(str(pi))

print((str(p*r**2)+" "+str(2*p*r)))
from math import pi
from decimal import Decimal

r = Decimal(eval(input()))
p = Decimal(pi)
print((str(p * r**2) + " " + str(2 * p * r)))

from math import pi
from decimal import Decimal

r = Decimal(str(eval(input())))
p = Decimal(str(pi))
print((str(p * r**2) + " " + str(2 * p * r)))

-r = Decimal(eval(input())) -p = Decimal(pi) +r = Decimal(str(eval(input()))) +p = Decimal(str(pi))