c=int(input()) r_in,r_out=map(int,input().split()) r=(r_out-r_in)/2 from math import pi s=r**2*pi l=(r_in+r)*2*pi v=s*l*c print(v)