Mr. Lin went to the bank to withdraw money. The first time he took out 50% of the deposit and 50 yuan, and the second time he took out the remaining half and less than 300 yuan. At this time, there was 1,000 yuan left in his passbook. How much did Mr. Lin originally deposit?
林老师去银行取款，第一次取出存款的50%又50元，第二次取出余下的一半少300元，这时他的存折上还剩1000元，林老师原来存款有多少元？
<gadget id="calculator">1_000 - 300</gadget>
<output>700</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">700 / (1/2)</gadget>
<output>1_400</output>

<gadget id="calculator">1_400 + 50</gadget>
<output>1_450</output>

<gadget id="calculator">1_450 / (1/2)</gadget>
<output>2_900</output>

<result>2_900</result>