10. (6 points) From the nine-digit number 798056132, any 4 digits are crossed out, so that the remaining 5 digits form a 5-digit number in sequence. The largest 5-digit number obtained is $\qquad$ , and the smallest is $\qquad$ .
【Analysis】To make the resulting five-digit number the largest, it is necessary to make the digit in the highest place the largest, the digit in the second place the largest except for the highest place and the removed digit, and so on, to derive the largest five-digit number. To make this five-digit number the smallest, the highest digit should be the smallest one (excluding 0) from the fifth digit from the back. According to this, solve the problem.

【Solution】According to the above analysis:
The largest five-digit number is: 98632, the smallest five-digit number is: 56132.
Therefore, the answer is: 98632, 56132.
【Comment】This question mainly tests the students' ability to solve problems based on the method of comparing the size of integers.