import math C = int(input()) Ri, Ro = map(int,input().split()) print(C*(math.pi**2)/4*(Ri+Ro)*((Ro-Ri)**2))