There is a batch of wood stacked together, the bottom layer has 45 pieces, the top layer has one less than the bottom layer, and the top layer has 3 pieces. How many pieces of wood are there in this pile?
有一批木材堆放在一起，最底层是45根，上面一层比下面一层少一根，最上一层是3根．这堆木材共有多少根？
<gadget id="calculator">3 + 45</gadget>
<output>48</output>

<gadget id="calculator">45 - 3</gadget>
<output>42</output>

<gadget id="calculator">42 + 1</gadget>
<output>43</output>

<gadget id="calculator">43 / 2</gadget>
<output>43/2 = around 21.5</output>

<gadget id="calculator">48 * (43/2)</gadget>
<output>1_032</output>

<result>1_032</result>