#include using namespace std; int main(){ int n,ans=0; cin>>n; map m; for(int i=0;i>a; if(m.count(a)==0)m.emplace(a,1); else ++m[a]; } for(auto x:m)if(x.second==1)++ans; cout<