Read numbers from input (first line is the count). Print only the unique values, sorted from smallest to largest.
Example: for 3 1 3 2 1, print:
3 1 3 2 1
1 2 3