#include #include using namespace std; int main(){ int n, input; cin >> n; map mp; for(int i=0; i> input; ++mp[input]; } int ans = 0; for(auto it = mp.begin(); it != mp.end(); ++it){ ans += (it->second == 1); } cout << ans << endl; }