C = int(input()) Rin,Rout = [int(i) for i in input().split()] print(C*(1/4*math.pi**2*(Rin+Rout)*(Rout-Rin)**2))