The average of the five numbers is 40. If these five numbers are arranged in ascending order, the average of the first three numbers is 34, and the average of the last three numbers is 45. What is the median of this group of data? ?
五个数的平均数是40，如果把这五个数从小到大排列，那么前三个数的平均数是34，后三个数的平均数是45，这组数据的中位数是多少？
<gadget id="calculator">34 * 3</gadget>
<output>102</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">102 + (-65)</gadget>
<output>37</output>

<result>37</result>