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

<gadget id="calculator">52 * 3</gadget>
<output>156</output>

<gadget id="calculator">50 * 5</gadget>
<output>250</output>

<gadget id="calculator">156 - 250</gadget>
<output>-94</output>

<gadget id="calculator">135 + (-94)</gadget>
<output>41</output>

<result>41</result>