c=STDIN.gets.to_i ri,ro=STDIN.gets.split(" ") ri=ri.to_f ro=ro.to_f a=(ro-ri)/2.0 i=ri+a pi=Math::PI ans=a*a*i*pi*pi*c*2 puts ans