#include #include using namespace std; int main() { int n; cin >> n; map mp; for (int i=0; i> t; mp[t]++; } int cnt=0; for (auto itr=mp.begin(); itr!=mp.end(); ++itr) { if (itr->second==1) cnt++; } cout << cnt << endl; return 0; }