Given a list of N digits, re-arrange the digits in non-decreasing order.
For example, if the list is 4 7 4 9 7, the output should be 4 4 7 7 9.
The input has two lines.
The first line is an integer N indicating the number of digits in the list.
The second line contains the N digits, separated by a whitespace.
The output is the re-arranged digits, separated by a whitespace. The is NO newline character at the end of the ouput.