There are two bags of balls, bag A has 50 balls, bag B has 30 balls, take out 2 balls from bag A and put them into bag B each time, after how many times, there are the same number of balls in both bags?
有两袋球，甲袋有50个球，乙袋有30个球，从甲袋每次取出2个放入乙袋，取多少次后，两袋里的球同样多？
<gadget id="calculator">50 + 30</gadget>
<output>80</output>

<gadget id="calculator">80 / 2</gadget>
<output>40</output>

<gadget id="calculator">40 - 30</gadget>
<output>10</output>

<gadget id="calculator">10 / 2</gadget>
<output>5</output>

<result>5</result>