from math import pi C=int(input()) x,y=map(int,input().split()) print(pi*pi*(x+y)*(y-x)*(y-x)*C/4)