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