There are two granaries, A and B, and the tonnage ratio is 5:3. If 5 tons of grain are shipped from A to B, then the two granaries will store the same amount of grain. How many tons of grain is stored in A?
有甲乙两个粮仓，存粮吨数比是5：3，如果从甲仓运出5吨粮食到乙仓，那么两个粮仓存粮就一样多，原来甲仓存粮多少吨？
<gadget id="calculator">5 + 3</gadget>
<output>8</output>

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

<gadget id="calculator">3 / 8</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">(5/8) - (3/8)</gadget>
<output>1/4 = around 0.25</output>

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

<gadget id="calculator">5 / (1/8)</gadget>
<output>40</output>

<gadget id="calculator">40 * (5/8)</gadget>
<output>25</output>

<result>25</result>