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