P23603 [AtCoder] Sort
提高
题目描述

Problem Description

Sort the sequence $ a $ in ascending order and output it in a single line with spaces separating the elements.

Input Format

None

Output Format

None

Sample Input and Output

Sample Input #1

5
3 1 5 4 2

Sample Output #1

1 2 3 4 5

Sample Input #2

6
1 2 3 4 5 6

Sample Output #2

1 2 3 4 5 6

Sample Input #3

7
7 6 5 4 3 2 1

Sample Output #3

1 2 3 4 5 6 7

Sample Input #4

20
19 11 10 7 8 9 17 18 20 4 3 15 16 1 5 14 6 2 13 12

Sample Output #4

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Notes/Hints

Constraints

  • $1 \leq N \leq 100$
输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
5 3 1 5 4 2
样例输出
1 2 3 4 5