There are two piles of chess pieces, pile A has 94 pieces, pile B has 138 pieces, 9 pieces are removed each time, after how many times the number of chess pieces left in pile B is 3 times the number of pieces left in pile A.
有两堆棋子，甲堆94颗，乙堆138颗，每次各取走9颗，取多少次后乙堆剩下的棋子是甲堆剩下棋子的3倍．
<gadget id="calculator">3 * 94</gadget>
<output>282</output>

<gadget id="calculator">282 - 138</gadget>
<output>144</output>

<gadget id="calculator">3 * 9</gadget>
<output>27</output>

<gadget id="calculator">27 - 9</gadget>
<output>18</output>

<gadget id="calculator">144 / 18</gadget>
<output>8</output>

<result>8</result>