import math c=int(input()) a,b=map(float,input().split()) r=(b-a)/2 h=a+r print(2*(r*r*math.pi)*math.pi*(h)*c)