#c22101. 排序4

排序4

Sorting 4

Problem Description

Given nn positive integers a1,a2,…,ana_1,a_2,…,a_n, sort them in ascending order and output them.

Input Format

The first line contains an integer nn, the number of values.

The next line contains nn integers a1,a2,...,ana_1,a_2,...,a_n.

Output Format

One line with nn integers, the sorted result.

Sample Input

5
3 9 5 3 2

Sample Output

2 3 3 5 9

Constraints

For 100%100\% of the data, 1≤n≤105,1≤ai≤1091\leq n\leq 10^5, 1\leq a_i\leq 10^9.