#131 manhattann distance x,y,d=(int(i) for i in input().split()) if x+y>d: print(0) else: if x>y: m=y t=x else: m=x t=y if d