import sys

for line in sys.stdin:

    PI = 3.14159265358979

    a = float(line)

    print('%f.8 %f.8' %(PI*a**2, 2*PI*a))
a = float(input())

PI = 3.14159265358979

print('%.8f %.8f' %(PI*a**2, 2*PI*a))
import sys

for line in sys.stdin:
    PI = 3.14159265358979
    a = float(line)
    print("%f.8 %f.8" % (PI * a**2, 2 * PI * a))

a = float(input())
PI = 3.14159265358979
print("%.8f %.8f" % (PI * a**2, 2 * PI * a))

-import sys - -for line in sys.stdin: -    PI = 3.14159265358979 -    a = float(line) -    print("%f.8 %f.8" % (PI * a**2, 2 * PI * a)) +a = float(input()) +PI = 3.14159265358979 +print("%.8f %.8f" % (PI * a**2, 2 * PI * a))