There are 280 apples in box A and 40 apples in box B. Take out 8 apples from box A and put them in box B each time. After how many times, the number of apples in the two boxes is equal?
甲箱有280个苹果，乙箱有40个苹果，每次从甲箱取出8个苹果放入乙箱，取出多少次后，两箱苹果的个数相等？
<gadget id="calculator">280 + 40</gadget>
<output>320</output>

<gadget id="calculator">320 / 2</gadget>
<output>160</output>

<gadget id="calculator">160 - 40</gadget>
<output>120</output>

<gadget id="calculator">120 / 8</gadget>
<output>15</output>

<result>15</result>