40:Distinct
总时间限制:
1000ms
内存限制:
65536kB
描述
Select some of N values. The selected values are all different and the number of the selected values is maximum.
输入
First line: one positive integers N (N <= 100).
Second line: N positive integers (<= 10000).
输出
One line contains several selected values.
样例输入
7 2 2 5 1 2 1 7
样例输出
2 5 1 7