from math import pi C = int(input()) Rin,Rout = map(int,input().split()) cm3 = 1 / 4 * pi * pi * (Rin + Rout) * (Rout - Rin) ** 2 print(C * cm3)