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