PROGRAMMING:Segment sort
Enter 10 integers in an array of 10 to sort the first 5 numbers from small to large and the last 5 numbers from large to small.
###Input format:
Enter 10 integers.
###Output format:
The sorted array is divided by spaces.
###Input example:
```in
5 9 2 4 6 7 1 3 0 8
```
###Output example:
```out
2 4 5 6 9 8 7 3 1 0
```
answer:If there is no answer, please comment
###Input format:
Enter 10 integers.
###Output format:
The sorted array is divided by spaces.
###Input example:
```in
5 9 2 4 6 7 1 3 0 8
```
###Output example:
```out
2 4 5 6 9 8 7 3 1 0
```
answer:If there is no answer, please comment