The mass ratio of the two bags of sugar between A and B is 4:1. After taking out 130 grams from bag A and putting it into bag B, the mass ratio of the two bags of sugar between A and B is 7:5. How many grams of sugar is in the original package?
甲、乙两包糖的质量比是4：1，从甲包取出130克放入乙包后，甲、乙两包糖的质量比为7：5．原来甲包有多少克糖？
<gadget id="calculator">4 + 1</gadget>
<output>5</output>

<gadget id="calculator">4 / 5</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">7 + 5</gadget>
<output>12</output>

<gadget id="calculator">7 / 12</gadget>
<output>7/12 = around 0.583333</output>

<gadget id="calculator">(4/5) - (7/12)</gadget>
<output>13/60 = around 0.216667</output>

<gadget id="calculator">130 / (13/60)</gadget>
<output>600</output>

<gadget id="calculator">600 * (4/5)</gadget>
<output>480</output>

<result>480</result>