from math import pi c = int(input()) i,o = map(int,input().split()) print((c*(o+i)*(o-i)**2*pi**2)/4)