Read n numbers, print unique numbers preserving first occurrence order.
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
6 1 2 2 3 1 4
Output
1 2 3 4