from decimal import Decimal from decimal import * from math import sqrt,pi getcontext().prec = 50 A=Decimal("-0.000074055680772525633944239899745486867270850876339812") x=Decimal(input()) print(x*A*Decimal(pi))