It is known that the rice in bag B is 2/3 of the rice in bag A. Put 77 kg of rice in bag A into bag B. The rice in bag A is 40% of that in bag B. How many kilograms are the two bags of rice in A and B?
已知乙袋大米是甲袋米的(2/3)，把甲袋米倒入乙袋77千克，甲袋米是乙袋的40%，求甲、乙两袋米共多少千克？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">1 + (2/3)</gadget>
<output>5/3 = around 1.666667</output>

<gadget id="calculator">1 / (5/3)</gadget>
<output>3/5 = around 0.6</output>

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

<gadget id="calculator">1 + (2/5)</gadget>
<output>7/5 = around 1.4</output>

<gadget id="calculator">(2/5) / (7/5)</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">(3/5) - (2/7)</gadget>
<output>11/35 = around 0.314286</output>

<gadget id="calculator">77 / (11/35)</gadget>
<output>245</output>

<result>245</result>