The school bought a batch of books, put 58% of the total on the first shelf, and put the rest on the second shelf. If 32 books are taken from the first floor and placed on the second floor, the ratio of the number of books on the two shelves is 1:1. How many books did the school buy in total?
学校买来一批书籍，将总数的58%放在第一层书架上，其余的放在第二层书架上．如果从第一层取出32本放在第二层，这时这两层书架所放的书数的比是1：1．学校共买来书籍多少本？
<gadget id="calculator">58 / 100</gadget>
<output>29/50 = around 0.58</output>

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

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

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

<result>400</result>