x,y,r=gets.split.map &:to_i;p x.abs+y.abs+(r*2**0.5).ceil