Both warehouses A and B store some cotton. It is known that the ratio of the quantity of cotton stored in warehouse A to the quantity of cotton stored in warehouse B is 4:7. If 30% of the cotton stored in warehouse B is shipped out, the amount of cotton stored in warehouse B The cotton in warehouse A is 180 tons more than that in warehouse A. How many tons of cotton were originally stored in warehouses A and B?
甲、乙两个仓库各存有一些棉花，已知甲仓库所存棉花数量与乙仓库所存棉花数量的比是4：7，如果从乙仓库运出所存棉花的30%后，这时乙仓库所存的棉花还比甲仓库多180吨，甲、乙两个仓库原来共存棉花多少吨．
<gadget id="calculator">30 / 100</gadget>
<output>3/10 = around 0.3</output>

<gadget id="calculator">1 - (3/10)</gadget>
<output>7/10 = around 0.7</output>

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

<gadget id="calculator">(7/10) - (4/7)</gadget>
<output>9/70 = around 0.128571</output>

<gadget id="calculator">180 / (9/70)</gadget>
<output>1_400</output>

<gadget id="calculator">1_400 * (4/7)</gadget>
<output>800</output>

<gadget id="calculator">800 + 1_400</gadget>
<output>2_200</output>

<result>2_200</result>