import math c=int(input()) Ri,Ro=map(int,input().split()) r1=(Ro+Ri)/2 r2=(Ro-Ri)/2 print(2*math.pi**2*r1*r2**2*c)