x,y,r=gets.split.map(&:to_f).map(&:abs) p (r*Math::sin(Math::PI/4)*2+x+y).ceil