C=int(input()) Rin,Rout=map(int, input().split()) PI=3.14159265358979 V=2*PI*(Rin+Rout)/2 * ((Rout-Rin)//2)**2*PI print(C*V)