from math import pi x,y,r=map(int,input().split()) a=int(2*r/(2**.5)+1) print(abs(x)+abs(y)+a)