There is a batch of goods, half of which was transported away for the first time, less than 15 tons, the remaining half was transported for the second time, more than 10 tons, and 40 tons for the third time. At this time, there are still 25 tons left. Originally how many tons.
有一批货物，第一次运走全部的一半少15吨，第二次运走剩下的一半多10吨，第三次运40吨，这时还剩25吨没有运走，问这批货物原有多少吨．
<gadget id="calculator">25 + 40 + 10</gadget>
<output>75</output>

<gadget id="calculator">75 * 2</gadget>
<output>150</output>

<gadget id="calculator">150 - 15</gadget>
<output>135</output>

<gadget id="calculator">135 * 2</gadget>
<output>270</output>

<result>270</result>