x, y, r = map(int, input().split()) x = abs(x) y = abs(y) from math import ceil print(ceil(x + y + 2 ** 0.5 * r))