# -*- coding:utf-8 -*-

import math

r = float(input())

a = r*r*math.pi

d = 2*r*math.pi

print(a,d,sep=' ')

pi = 3.14159265359

r = float(input())

a,d = r*r*pi,2*r*pi

print(a,d,sep=' ')

# -*- coding:utf-8 -*-
import math

r = float(input())
a = r * r * math.pi
d = 2 * r * math.pi
print(a, d, sep=" ")

pi = 3.14159265359
r = float(input())
a, d = r * r * pi, 2 * r * pi
print(a, d, sep=" ")

-# -*- coding:utf-8 -*- -import math - +pi = 3.14159265359 -a = r * r * math.pi -d = 2 * r * math.pi +a, d = r * r * pi, 2 * r * pi