#include
#include
using namespace std;
const int MAX=1001;
int num[MAX];
int main () {
freopen("test", "r", stdin);
int n = 0;
cin>>n;
int m = n;
for (int i =0; i< n; ++i) {
cin>>num[0];
if (num[num[0]] == 1) {
m--;
continue;
}
num[num[0]]=1;
}
cout
#include
#include
using namespace std;
const int MAX=1001;
int num[MAX];
int main () {
freopen("test", "r", stdin);
int n = 0;
cin>>n;
int m = n;
for (int i =0; i< n; ++i) {
cin>>num[0];
if (num[num[0]] == 1) {
m--;
continue;
}
num[num[0]]=1;
}
cout