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