import math c=input() r=map(float,raw_input().split()) a=(r[1]-r[0])/2 b=r[0]+a print a*a*b*math.pi*math.pi*c*2