certain school bought a batch of books and placed them in two bookcases. The number of books in the first cabinet accounted for 58% of the books in the batch. If 32 books were taken out from the first cabinet and placed in the second cabinet, then the two bookcases The books of each account for (1/2) of this batch of books. How many books are there in total?
某校买来一批图书，放在两个书柜中，其中第一柜的本数占这批图书的58%，如果从第一柜取出32本，放到第二柜中，这时两个书柜的书各占这批图书的(1/2)．这批图书共多少本？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">58 / 100</gadget>
<output>29/50 = around 0.58</output>

<gadget id="calculator">1 - (29/50)</gadget>
<output>21/50 = around 0.42</output>

<gadget id="calculator">(1/2) - (21/50)</gadget>
<output>2/25 = around 0.08</output>

<gadget id="calculator">32 / (2/25)</gadget>
<output>400</output>

<result>400</result>