import sys
import io
import math
def readlines():
    for line in io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8'):
        yield line.strip('\n')

lines = readlines()

n = int( next(lines))
print(math.pi *n)