A has 216 glass balls, and B has 54 of the same glass balls. The two give balls to each other each time. After several times, A has 8 times as many glass balls as B. If A loses 3 balls to B every time, how many times the two give each other balls at this time.
甲有玻璃球216个，乙有同样的玻璃球54个．两人每次相互给球，若干次后，甲有玻璃球的个数是乙的8倍．如果甲每次都少给乙3个球，那么此时两人相互给了多少次球．
<gadget id="calculator">216 + 54</gadget>
<output>270</output>

<gadget id="calculator">8 + 1</gadget>
<output>9</output>

<gadget id="calculator">270 / 9</gadget>
<output>30</output>

<gadget id="calculator">54 - 30</gadget>
<output>24</output>

<gadget id="calculator">24 / 3</gadget>
<output>8</output>

<result>8</result>