There are two grain warehouses, A and B, and the grain stored in warehouse A is 70% of the grain stored in warehouse B. If 50 tons of grain are transferred from warehouse B to warehouse A, the grain stored in warehouse A is 80% of the grain stored in warehouse B. How many tons of grain are stored in warehouses A and B?
甲、乙两个粮食仓库，甲仓库存粮是乙仓库存粮的70%．如果从乙仓库调50吨粮食到甲仓库，甲仓库的存粮就是乙仓库存粮的80%．甲、乙两仓库共存粮多少吨．
<gadget id="calculator">4 / 9</gadget>
<output>4/9 = around 0.444444</output>

<gadget id="calculator">7 / 17</gadget>
<output>7/17 = around 0.411765</output>

<gadget id="calculator">(4/9) - (7/17)</gadget>
<output>5/153 = around 0.03268</output>

<gadget id="calculator">50 / (5/153)</gadget>
<output>1_530</output>

<result>1_530</result>