There are two bookshelves on the upper and lower floors. If 25 books are taken from the upper layer and placed in the lower layer, then the books on the lower layer are the ones on the upper layer (5/7). It is known that there were originally 35 books in the lower layer, and how many books were there in the upper layer?
上下两层书架，如果从上层取出25本放入下层，这时下层的书是上层的(5/7)．已知下层原来有35本书，上层原来有多少本书？
<gadget id="calculator">25 + 35</gadget>
<output>60</output>

<gadget id="calculator">7 + 5</gadget>
<output>12</output>

<gadget id="calculator">5 / 12</gadget>
<output>5/12 = around 0.416667</output>

<gadget id="calculator">60 / (5/12)</gadget>
<output>144</output>

<gadget id="calculator">144 - 35</gadget>
<output>109</output>

<result>109</result>