There is a batch of rice in the grain depot, half of the total number is more than 3 tons in the first shipment, and the remaining half is more than 5 tons in the second shipment, so there are still 4 tons left. Ask Curry how many tons of original rice?
粮库内有一批大米，第一次运出总数的一半多3吨，第二次运出剩下的一半多5吨，这时还剩下4吨．问库里原有大米多少吨？
<gadget id="calculator">4 + 5</gadget>
<output>9</output>

<gadget id="calculator">9 * 2</gadget>
<output>18</output>

<gadget id="calculator">18 + 3</gadget>
<output>21</output>

<gadget id="calculator">21 * 2</gadget>
<output>42</output>

<result>42</result>