import math x, y, r = map(int, input().split()) ans = math.fabs(x) + math.fabs(y) ans += ((r**2)*2)**0.5 print(int(ans)+1)