c=gets.to_f ri,ro=gets.split.map &:to_f p (Math::PI**2) * (((ro-ri)/2)**2)*((ro+ri)/ 2)*20