There is a batch of chemical fertilizers in the warehouse, (2/5) of the total is taken out for the first time, and (1/3) is always 12 bags less in the second time, so there are still 24 bags left in the warehouse. How many bags were taken out of the two bags?
仓库里有一批化肥，第一次取出总数的(2/5)，第二次取出总是的(1/3)少12袋，这时仓库里还剩24袋．两袋共取出多少袋．
<gadget id="calculator">24 - 12</gadget>
<output>12</output>

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

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

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

<gadget id="calculator">12 / (4/15)</gadget>
<output>45</output>

<gadget id="calculator">45 - 24</gadget>
<output>21</output>

<result>21</result>