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