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