#include using namespace std; signed main(){ int n;cin>>n; map m; while(n--){ int a;cin>>a;m[a]++; } int ans=0; for(auto p:m)ans+=p.second==1; cout<