Two granaries, A and B, store several tons of grain. It is known that the tonnage of grain stored in warehouse A is (3/5) that of warehouse B. If warehouse B gives 36 tons to warehouse A, the two warehouses have the same amount of grain. How much grain is stored in warehouse A and B? Ton?
甲乙两个粮仓共存粮若干吨，已知甲仓库存粮的吨数是乙仓库的(3/5)，如果乙仓库给甲仓库36吨，则两仓库的粮食同样多，甲乙两仓库共存粮多少吨？
<gadget id="calculator">3 + 5</gadget>
<output>8</output>

<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">(5/8) - (1/2)</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">36 / (1/8)</gadget>
<output>288</output>

<result>288</result>