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