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