Two granaries, A and B, store 1,400 tons of grain in total. Warehouse A transports 12.5% of the original warehouse, and Warehouse B transports 100 tons. Now the two warehouses have the same amount of grain. How many tons of grain did A warehouse store?
甲、乙两个粮仓共存粮1400吨，甲仓运走本仓的12.5%，乙仓运进100吨，现在两仓库存粮相等，原来甲仓存粮多少吨？
<gadget id="calculator">12.5 / 100</gadget>
<output>0.125</output>

<gadget id="calculator">100 / 0.125</gadget>
<output>800</output>

<result>800</result>