import math n=int(input()) a,b=map(int,input().split()) v=0.25*(math.pi**2)*(a+b)*((b-a)**2) print(v*n)