#T599. 排序练习

排序练习

Description

Enter an integer n and n integers, then output them after sorting. (1 ≤ n ≤ 5000)

Input Format

Line 1: An integer n

Line 2: n integers, separated by spaces, all within the range of the integer type.

Output Format

One line: n integers

5
1 2 3 4 5

5 4 3 2 1

## Source

CodesOnline