There is a batch of rice, half of which was shipped out the first time, 12 packs were missing, the remaining half of the second shipment was more than 10 packs, and the third shipment was 48 packs. At this time, there were 28 packs left. How many packs of rice were there?
粮食有一批大米，第一次运出一半缺12包，第二次运出余下的一半多10包，第三次运出48包，这时还剩28包，原来大米几包？
<gadget id="calculator">48 + 28 + 10</gadget>
<output>86</output>

<gadget id="calculator">86 * 2</gadget>
<output>172</output>

<gadget id="calculator">172 - 12</gadget>
<output>160</output>

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

<result>320</result>