c=gets.to_i a,b=gets.split.map &:to_i d=Math::PI p c*(a-b)**2*d**2*(a+b)/4