1189: 计数排序

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:48 Solved:36

Description

对n个数进行计数排序

Input

第一行输入一个n,第二行输入n个整数

Output

输出n个数的排序结果

Sample Input Copy

6
3 1 3 2 5 4 

Sample Output Copy

1 2 3 3 4 5

HINT

请使用计数排序解决本题