import math print(float(input()) * math.pi)