The Sketchy Government Spying Organization (SGSO) has released a new blockchain, but you're skeptical of its security. To show that it's insecure, you need to be able to quickly solve the proof-of-work problem on your weak computer.
The proof-of-work problem is:
Given an integer , followed by integers in the range (each on its own line), output the integers in ascending order.
Input Specification
The first line contains the integer .
The next lines each contain an integer in the range .
Output Specification
Print the integers in ascending order, with one integer per line.
Sample Input 1
5
9
2
2
1
10
Sample Output 1
1
2
2
9
10
Comments