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