There are two layers of books on a bookshelf. The books on the upper layer are 52 more than the books on the lower layer. After taking out 6 books from the upper layer and placing them on the lower layer, the books on the lower layer are the books on the upper layer (2/3). How many books are there on the upper layer of the bookshelf? ?
一个书架上摆着两层书，上层书比下层书多52本，从上层拿出6本放到下层后，下层的书是上层书的(2/3)，这时书架的上层有多少本？
<gadget id="calculator">6 * 2</gadget>
<output>12</output>

<gadget id="calculator">52 - 12</gadget>
<output>40</output>

<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

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

<gadget id="calculator">40 / (1/3)</gadget>
<output>120</output>

<gadget id="calculator">120 + 6</gadget>
<output>126</output>

<result>126</result>