522. Lab Evaluation

0

Easy

Shivam is having his Data Structure and Algorithms lab evaluation. His teacher gave him a list which has sequential access. Now, Shivam has to sort this given list in ascending order.

Input Format

First line contains n, size of list
Second line contains n numbers which are the values

Output Format

Print the sorted list

Example

Input

3 3 2 1

Output

1 2 3

Constraints

The size of list is in the range [0, 5 * 104].
-105 <= value <= 105
Loading...

View Submissions

Console