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