x,y,r = map(int,input().split()) v = abs(x) + abs(y) + r*(2**0.5) print(int(v)+1)