There is a certain amount of sugar in container A, and several kilograms of water in container B. First, take out 8 grams of sugar from container A and put it into container B. After stirring evenly, pour 30 grams of sugar water from container B into container A. After stirring evenly, the concentration of sugar water in container A is 40%, and the concentration of sugar water in container B is 20%. How many grams of sugar water is there in container A?
甲容器中装有一定数量的糖，乙容器中装有若干千克水，先从甲容器中取出8克糖放入乙容器，搅拌均匀后，又将乙容器中的糖水倒30克到甲容器，搅拌均匀后，甲容器中糖水浓度为40%，乙容器中糖水的浓度为20%，甲容器此时有糖水多少克．
<gadget id="calculator">20 / 100</gadget>
<output>1/5 = around 0.2</output>

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

<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

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

<gadget id="calculator">(4/5) / (3/5)</gadget>
<output>4/3 = around 1.333333</output>

<gadget id="calculator">30 * (4/3)</gadget>
<output>40</output>

<result>40</result>