Problem2431--【入门】数组元素的排序

2431: 【入门】数组元素的排序

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

对数组的元素按从小到大进行排序。

Input

有两行 第一行有一个整数n( 5 <= n <= 10 ) 第二行有n个整数

Output

输出更新后的数组

Sample Input Copy

8
1 2 3 6 8 7 4 5

Sample Output Copy

1 2 3 4 5 6 7 8

Source/Category