There are 37 logs in a pile of wood. From top to bottom, the upper layer has one less than the lower layer, and the top layer has 10 logs. How many logs are there in total?
一堆木料，底层有37根，从上往下，上面一层比下面一层少一根，最上层有10根，这堆木料一共有多少根？
<gadget id="calculator">37 + 10</gadget>
<output>47</output>

<gadget id="calculator">37 - 10</gadget>
<output>27</output>

<gadget id="calculator">27 + 1</gadget>
<output>28</output>

<gadget id="calculator">28 / 2</gadget>
<output>14</output>

<gadget id="calculator">47 * 14</gadget>
<output>658</output>

<result>658</result>