import sys

import math

from decimal import Decimal



r = Decimal(sys.stdin.readline())

area = r ** Decimal(2) * Decimal(math.pi)

circumference = r * Decimal(2) * Decimal(math.pi)



print((round(area, 5), round(circumference, 5)))
import math



r = float(eval(input()))



s = r * r * math.pi

l = r * 2 * math.pi



print((s, l))
import sys
import math
from decimal import Decimal

r = Decimal(sys.stdin.readline())
area = r ** Decimal(2) * Decimal(math.pi)
circumference = r * Decimal(2) * Decimal(math.pi)
print((round(area, 5), round(circumference, 5)))

import math

r = float(eval(input()))
s = r * r * math.pi
l = r * 2 * math.pi
print((s, l))

-import sys -from decimal import Decimal -r = Decimal(sys.stdin.readline()) -area = r ** Decimal(2) * Decimal(math.pi) -circumference = r * Decimal(2) * Decimal(math.pi) -print((round(area, 5), round(circumference, 5))) +r = float(eval(input())) +s = r * r * math.pi +l = r * 2 * math.pi +print((s, l))