import math C=float(input()) Ri,Ro=(float(i) for i in input().split()) a=Ro-Ri a*=4*math.pi print(C*a)