import math C=int(input()) Rin,Rout=map(int,input().split()) V=(1/4)*(math.pi**2)*(Rin+Rout)*(Rout-Rin)**2 print(V*C)