import math x,y,r = [int(i) for i in input().split()] xm = abs(x) + r/(2**0.5) ym = abs(y) + r/(2**0.5) print(math.ceil(xm+ym))