There are two bags of flour, the first bag of flour is 24 kilograms, and the second bag of flour is 18 kilograms. How many kilograms are taken from the first bag and put into the second bag to make the weight of the flour in the two bags equal?
有两袋面粉，第一袋面粉24千克，第二袋面粉18千克，从第一袋中取走几千克放入第二袋，才能使两袋中的面粉重量相等？
<gadget id="calculator">24 + 18</gadget>
<output>42</output>

<gadget id="calculator">42 / 2</gadget>
<output>21</output>

<gadget id="calculator">24 - 21</gadget>
<output>3</output>

<result>3</result>