import math x, y, r = map(int, input().split()) rxy = r * 1 / math.sqrt(2) rx = rxy + abs(x) ry = rxy + abs(y) a = ry - rx * -1 print(math.ceil(a))