x, y, r = gets.chomp.split.map(&:to_i) puts (x.abs + y.abs + r * Math.sqrt(2)).ceil