1194: 去重

Memory Limit:0 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:411 Solved:157

Description

依次输入n个数,将其去重后依次输出。

Input

第一行一个数n(n<100)
第二行n个2^30以内的正整数,之间以空格隔开

Output

输出去重后的数

Sample Input Copy

10
1 1 2 2 3 9 3 9 4 1

Sample Output Copy

1 2 3 9 4

加入题单

算法标签: