x='50' for i in range(100): x=str(eval(x+'-+'[i%2]+str(i))) print x