There is a batch of square bricks, if they are put together into a large rectangle with a ratio of length and width of 5:4, there will be 33 pieces left. If they are assembled into a large rectangle with one piece added to the length and width, there will be 40 pieces less. Then this batch of bricks has a total of How much?
有一批正方形砖，如果拼成一个长与宽的比是5：4的大长方形，则余33块，如果改拼成长与宽各增加一块的大长方形，则少40块，那么这批砖共有多少块？
<gadget id="calculator">33 - 1</gadget>
<output>32</output>

<gadget id="calculator">40 + 32</gadget>
<output>72</output>

<gadget id="calculator">5 * 4</gadget>
<output>20</output>

<gadget id="calculator">4 - 20</gadget>
<output>-16</output>

<gadget id="calculator">20 + 5 + (-16)</gadget>
<output>9</output>

<gadget id="calculator">72 / 9</gadget>
<output>8</output>

<gadget id="calculator">5 * 8 * 4 * 8</gadget>
<output>1_280</output>

<gadget id="calculator">1_280 + 33</gadget>
<output>1_313</output>

<result>1_313</result>