x,y,r=map(int,input().split()) if x<0: x=-x if y<0: y=-y for r0 in range(1000,-1,-1): d=(abs(x*1+y*1-r0)/1.41421356) if d<=r: print(r0+1) break