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