There are five numbers whose average is 142. Arrange these numbers in ascending order. The average of the first three numbers is 118, and the average of the last three numbers is 162. What is the middle number?
有五个数它们的平均数是142，把这些数按从小到大的顺序排列起来，前三个数的平均数是118，后三个数的平均数是162，求中间的数是多少？
<gadget id="calculator">118 * 3</gadget>
<output>354</output>

<gadget id="calculator">162 * 3</gadget>
<output>486</output>

<gadget id="calculator">354 + 486</gadget>
<output>840</output>

<gadget id="calculator">142 * 5</gadget>
<output>710</output>

<gadget id="calculator">840 - 710</gadget>
<output>130</output>

<result>130</result>