There are several bags of rice stored in the granary. On the first day, 8 bags less than half of the stored rice are sold, and half of the remaining rice is sold on the second day. At this time, there are still 32 bags of rice in the granary. How many bags of rice were originally stored in the granary? ?
粮仓里存大米若干袋，第一天卖出的比存米的一半少8袋，第二天又卖出剩余米的一半，这时粮仓里还存米32袋，这个粮仓原存大米多少袋？
<gadget id="calculator">32 * 2</gadget>
<output>64</output>

<gadget id="calculator">64 - 8</gadget>
<output>56</output>

<gadget id="calculator">56 * 2</gadget>
<output>112</output>

<result>112</result>