Mom bought some apples and gave them to grandma 12. Half of the remaining apples were eaten. Later, dad brought back 18. Now there are 29 more. How many did mom buy?
妈妈买来一些苹果，送给奶奶12个后，剩下的苹果又被吃掉一半，后来爸爸又带回18个，现在还有29个，妈妈原来买来多少个？
<gadget id="calculator">29 - 18</gadget>
<output>11</output>

<gadget id="calculator">11 * 2</gadget>
<output>22</output>

<gadget id="calculator">22 + 12</gadget>
<output>34</output>

<result>34</result>