Mom bought some apples and ate them in three days. On the first day, she ate (1/4) of the total, on the second day she ate (1/2) on the third day, and on the second day she ate 4 apples. How many apples?
妈妈买了一些苹果三天吃完，第一天吃了总数的(1/4)，第二天吃的是第三天吃的(1/2)，第二天吃了4个，一共有多少个苹果？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">4 / (1/2)</gadget>
<output>8</output>

<gadget id="calculator">8 + 4</gadget>
<output>12</output>

<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 - (1/4)</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">12 / (3/4)</gadget>
<output>16</output>

<result>16</result>