<reponame>vijay-jaisankar/Competetive_programming<gh_stars>0
import math


r = int(input())
print(2 * 3.141592653589793 * r)
print(math.pi)

import math


r = int(input())
print(2 * 3.141592653589793 * r)
print(math.pi)