The quantity ratio of the two bags of sugar between A and B is 4:3. If 9 pieces of sugar are taken out from A and put into the bag of B, the ratio of the quantity of the two bags of sugar between A and B is 7:6. How many pieces of sugar are there in the two bags?
甲、乙两包糖数量比是4：3，如果从甲取出9粒糖，放人乙包后，则甲、乙两包糖数量比是7：6，求两包糖共有多少粒？
<gadget id="calculator">4 + 3</gadget>
<output>7</output>

<gadget id="calculator">4 / 7</gadget>
<output>4/7 = around 0.571429</output>

<gadget id="calculator">7 + 6</gadget>
<output>13</output>

<gadget id="calculator">7 / 13</gadget>
<output>7/13 = around 0.538462</output>

<gadget id="calculator">(4/7) - (7/13)</gadget>
<output>3/91 = around 0.032967</output>

<gadget id="calculator">9 / (3/91)</gadget>
<output>273</output>

<result>273</result>