There are 6 boys and 8 girls. The first pile of apples is 11 more than the second pile of apples. The teacher will distribute the first pile of apples to the boys, each with the same number, and there will be 4 left. The teacher will divide the second pile of apples The apples are distributed to the girls, each of them has the same amount, and there will be 7 left. It is known that each boy has 8 more apples than each girl, so how many apples are there in total?
有男生6人，有女生8人，第一堆苹果比第二堆苹果多11个，老师将第一堆苹果分给男生，每人一样多，还会剩下4个，老师将第二堆苹果分给女生，每人一样多，还会剩下7个，已知男生每人比女生每人多分了8个，那么一共有多少个苹果？
<gadget id="calculator">8 * 6</gadget>
<output>48</output>

<gadget id="calculator">4 - 7 - 11</gadget>
<output>-14</output>

<gadget id="calculator">48 + (-14)</gadget>
<output>34</output>

<gadget id="calculator">8 - 6</gadget>
<output>2</output>

<gadget id="calculator">34 / 2</gadget>
<output>17</output>

<gadget id="calculator">17 + 8</gadget>
<output>25</output>

<gadget id="calculator">25 * 6</gadget>
<output>150</output>

<gadget id="calculator">17 * 8</gadget>
<output>136</output>

<gadget id="calculator">150 + 4 + 136 + 7</gadget>
<output>297</output>

<result>297</result>