#include #include #include using namespace atcoder; using mint = modint; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 int main(){ int n; cin>>n; map mp; rep(i,n){ int a; cin>>a; mp[a]++; } int ans = 0; for(auto a:mp){ if(a.second==1)ans++; } cout<