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

<gadget id="calculator">40 * (1/10)</gadget>
<output>4</output>

<gadget id="calculator">40 - 4</gadget>
<output>36</output>

<gadget id="calculator">36 * 2</gadget>
<output>72</output>

<result>72</result>