There are three bookcases, A, B, and C. The books in the B cabinet are A's (4/9), which is twice that of C. First take out 24 books from A cabinet and put them into C cabinet, and then put as many books from B cabinet as possible into C cabinet, so that the ratio of the number of books in A, B, and C bookcases is 4:1:3.
甲乙丙三个书柜，乙柜中书的本书是甲的(4/9)，是丙的2倍．先从甲柜拿出24本放入丙柜，再从乙柜拿出多少本也放入丙柜，就使甲乙丙三个书柜中书的本数比是4：1：3．
<gadget id="calculator">9 + 4 + 2</gadget>
<output>15</output>

<gadget id="calculator">9 / 15</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">4 + 1 + 3</gadget>
<output>8</output>

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

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

<gadget id="calculator">24 / (1/10)</gadget>
<output>240</output>

<gadget id="calculator">4 / 15</gadget>
<output>4/15 = around 0.266667</output>

<gadget id="calculator">240 * (4/15)</gadget>
<output>64</output>

<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">240 * (1/8)</gadget>
<output>30</output>

<gadget id="calculator">64 - 30</gadget>
<output>34</output>

<result>34</result>