#include #include "bits/stdc++.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include typedef long long ll; const int INF = 1e8; #define rep(i,n) for(ll i=0;i<(ll)(n);i++) using namespace std; typedef pair P; ll d[100010]; int main() { int n = 0; cin >> n; int tmp; for (int i = 0; i < n; i++) { cin >> tmp; d[tmp]++; } int ct=0; for (int i = 0; i < 100001; i++) { if(d[i] ==1){ ct++; } } cout<