Use two cups of salt water, A and B, with different salt contents. The weight of cup A is 120 grams, and the weight of cup B is 80 grams. Two glasses of fresh brine have the same percentage of salt, how many grams of brine are poured from each cup?
用甲、乙两杯含盐率不同的盐水，甲杯盐水重120克，乙杯盐水重80克，现在从两杯中倒出等量的盐水，分别交换倒入的两杯中，这时两杯新盐水的含盐率相同，从每杯中倒出的盐水是多少克？
<gadget id="calculator">3 + 2</gadget>
<output>5</output>

<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">120 * (2/5)</gadget>
<output>48</output>

<result>48</result>