include<iostream>
include<algorithm>
include<set>
using namespace std;
int main()
{
int N;
cin>>N;
set<int> v;
int K;
for(int i=0;i<N;i++)
{
cin>>K;
v.insert(K);
}
for(set<int>::iterator it=v.begin();it!=v.end();it++)
{
cout<<*it<<" ";
}
cout<<endl;
return 0;
}
网友评论