The original goods in warehouses A and B are equal. If Warehouse A transports 600 tons and Warehouse B transports 200 tons, the goods in Warehouse B are now three times that of Warehouse A. How many tons of goods did warehouses A and B originally have?
甲、乙两个仓库原有的货物相等．如果甲仓库运走600吨，乙仓库运进200吨，现在乙仓库的货物是甲仓库的3倍．甲、乙两个仓库原来各有多少吨货物？
<gadget id="calculator">600 + 200</gadget>
<output>800</output>

<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">800 / 2</gadget>
<output>400</output>

<gadget id="calculator">400 + 600</gadget>
<output>1_000</output>

<result>1_000</result>