x,y,r=gets.split.map &:to_i t=2**0.5*r m=[[x+t,y+t],[x+t,y-t],[x-t,y+t],[x-t,y-t]].max{|a,b|a.abs+b.abs} p m.ceil