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