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