Two bags of rice, A and B, weigh 24.6 kilograms in total. If 3.5 kilograms are taken from bag A and put into bag B, the weight of the two bags of rice is equal. How many kilograms of rice does bag A contain?
甲、乙两袋大米共重24.6千克，如果从甲袋中取出3.5千克放入乙袋，这时两袋大米质量相等，原来甲袋有大米多少千克？
<gadget id="calculator">3.5 * 2</gadget>
<output>7</output>

<gadget id="calculator">24.6 + 7</gadget>
<output>31.6</output>

<gadget id="calculator">31.6 / 2</gadget>
<output>15.8</output>

<result>15.8</result>