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