import math c=int(input()) r1,r2=[int(x) for x in input().split()] a=((r2-r1)/2)**2*math.pi b=((r2-r1)/2+r1)*2*math.pi print(a*b*c)