x, y, r = map(int, input().split()) x = abs(x) y = abs(y) import math xt, yt = x+r/math.sqrt(2), y+r/math.sqrt(2) ans = math.ceil(xt+yt) print(ans)