The tonnage ratio of grain stored in warehouses A and B is 4:3. If 8 tons are taken out from warehouse A and put into warehouse B, the ratio of grain stored in warehouses A and B is 4:5. How many tons of grain did the two warehouses originally store?
甲、乙两个仓库存粮吨数比是4：3，如果从甲仓库中取出8吨放到乙仓库中去，那么甲、乙两个仓库存粮吨数比是4：5．两个仓库原来共存粮多少吨？
<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">4 + 5</gadget>
<output>9</output>

<gadget id="calculator">4 / 9</gadget>
<output>4/9 = around 0.444444</output>

<gadget id="calculator">(4/7) - (4/9)</gadget>
<output>8/63 = around 0.126984</output>

<gadget id="calculator">8 / (8/63)</gadget>
<output>63</output>

<result>63</result>