#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int t;
cin>>t;
int array[t];
if(t<=10*10*10*10*10*10)
{
for(int i=0;i<t;i++)
{
cin>>array[i];
}
sort(array,array+t);
for(int n=0;n<t;n++)
{if(array[n]!=array[n+1])
{cout<<array[n];}}
}
return 0;
}
...... ...... ...... this is my code...ideone accepts it but codechef gives"wrong answer"....please help