import math x, y, r = map(int, raw_input().split()) print abs(x) + abs(y) + int(math.ceil(r/(math.sqrt(2) / 2) + 1e-9))