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