There is a batch of rice in grain depot A, half of it is shipped out in the first time, the remaining half is more than 5 tons in the second time, and 45 tons in the third time, and there are still 30 tons left at this time. How many tons of rice are there?
粮库甲有一批大米，第一次运出一半，第二次运出余下的一半多5吨，第三次运出45吨，这时还剩下30吨，原来有大米多少吨．
<gadget id="calculator">45 + 30 + 5</gadget>
<output>80</output>

<gadget id="calculator">80 * 2 * 2</gadget>
<output>320</output>

<result>320</result>