PROGRAMMING:Sorting by selection (function realization)
Read in integer n, then read in n integers, store them in the array, sort them and output them. To sort an array, use a function (selection method).
###Input example:
```in
ten
72 29 5 91 63 32 68 40 57 11
```
###Output example:
```out
5 11 29 32 40 57 63 68 72 91
```
answer:If there is no answer, please comment
###Input example:
```in
ten
72 29 5 91 63 32 68 40 57 11
```
###Output example:
```out
5 11 29 32 40 57 63 68 72 91
```
answer:If there is no answer, please comment