In a two-layer bookshelf, the number of books on the second layer is 28 less than that on the first layer. If 8 books are placed on the first layer, then the number on the first layer is 5 times that of the second layer. How many books are there in total on the bookshelf?
一个两层书架，第二层的书比第一层少28本，如果第一层放进8本，那么第一层是第二层的5倍，书架上原来共有书多少本？
<gadget id="calculator">5 * 28</gadget>
<output>140</output>

<gadget id="calculator">8 + 140</gadget>
<output>148</output>

<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">148 / 4</gadget>
<output>37</output>

<gadget id="calculator">37 - 28</gadget>
<output>9</output>

<gadget id="calculator">37 + 9</gadget>
<output>46</output>

<result>46</result>