There are two warehouses, A and B, and warehouse A stores 300 tons of grain. If (1/10) is taken out from warehouse A and put into warehouse B, the amount of grain stored in the two warehouses is equal. How many kilograms of grain are stored in the two warehouses?
甲乙两个仓库，甲仓存粮300吨，如果从甲仓中取出(1/10)放入乙仓，则两仓库存粮数相等．两仓库一共存粮多少千克？
<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">300 * (1/10)</gadget>
<output>30</output>

<gadget id="calculator">300 - 30</gadget>
<output>270</output>

<gadget id="calculator">270 * 2</gadget>
<output>540</output>

<result>540</result>