Problem1622--桶排序练习题(一)

1622: 桶排序练习题(一)

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

Description

对于一个数列,数列中的每一个数都是在1~100之间的(包括1和100),将数列从小到大排序,输出排序后的数列

Input

两行
第一行:一个正整数n,表示数列中整数的个数 (1<=n<=10000)
第二行:n个正整数,用空格隔开

Output

在一行中输出经过排序后的数列

Sample Input Copy

10
 9 9 8 6 7 6 9 3 3 2

Sample Output Copy

2 3 3 6 6 7 8 9 9 9

Source/Category