The average of 5 numbers is 40. If these 5 numbers are arranged in ascending order, the average of the first three numbers is 32, and the average of the last three numbers is 45. What is the middle number? ?
5个数的平均数是40，如果把这5个数按从小到大的顺序排列，那么前三个数的平均数是32，后三个数的平均数是45，中间的那个数是多少？
<gadget id="calculator">32 * 3</gadget>
<output>96</output>

<gadget id="calculator">45 * 3</gadget>
<output>135</output>

<gadget id="calculator">40 * 5</gadget>
<output>200</output>

<gadget id="calculator">135 - 200</gadget>
<output>-65</output>

<gadget id="calculator">96 + (-65)</gadget>
<output>31</output>

<result>31</result>