A basket of apples is distributed to A, B, and C. A gets 5 more apples from all the apples (1/5), B gets 7 more apples from 1/4 of all the apples, and C gets the rest of the apples. (1/2), and the last remaining apple is exactly (1/8). How many apples are in this basket?
一筐苹果分给甲、乙、丙3人，甲分得全部苹果的(1/5)多5个苹果，乙分得全部的(1/4)多7个苹果，丙分得其余苹果的(1/2)，最后剩下的苹果刚好是全部的(1/8)．这筐苹果有多少个？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">5 * (1/2)</gadget>
<output>5/2 = around 2.5</output>

<gadget id="calculator">7 * (1/2)</gadget>
<output>7/2 = around 3.5</output>

<gadget id="calculator">7 - (5/2) - (7/2)</gadget>
<output>1</output>

<gadget id="calculator">5 + 1</gadget>
<output>6</output>

<gadget id="calculator">1 / 5</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">(1/5) * (1/2)</gadget>
<output>1/10 = around 0.1</output>

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

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

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">(1/8) - (1/5) - (1/4) - (1/2) - (1/8)</gadget>
<output>-19/20 = around -0.95</output>

<gadget id="calculator">1 + (1/10) + (-19/20)</gadget>
<output>3/20 = around 0.15</output>

<gadget id="calculator">6 / (3/20)</gadget>
<output>40</output>

<result>40</result>