x, y, r = map(int, input().split()) print (abs(x)+abs(y)+int((2*r)/(2**0.5))+1)