Xiaolei goes to the savings bank to withdraw money. The first time he withdraws (1/2) of the deposit is 5 yuan more, and the second time he withdraws the remaining (1/2) less 10 yuan. At this time, there is still 180 yuan left. How much is Xiaolei's original savings?
小磊去储蓄所取款，第一次取了存款的(1/2)多5元，第二次取了余下的(1/2)少10元，这时还剩下180元．小磊原有存款多少元．
<gadget id="calculator">180 - 10</gadget>
<output>170</output>

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

<gadget id="calculator">170 / (1/2)</gadget>
<output>340</output>

<gadget id="calculator">340 + 5</gadget>
<output>345</output>

<gadget id="calculator">345 / (1/2)</gadget>
<output>690</output>

<result>690</result>