#include using namespace std;int main(){int N,a=0;cin>>N;mapM;while(cin>>N)M[N]++;for(auto v:M)a+=(v.second==1);cout<