def main(): X, Y, R = map(int, input().split()) dist = abs(X) + abs(Y) + int(-(-(2 ** 0.5 * R) // 1)) print(dist) main()