#include #include using namespace std; int main(){ cin.tie(0); ios::sync_with_stdio(false); int n, input, total=0; set a; set aOverlap; set::iterator it; cin >> n; for(int i=0; i> input; if(a.find(input)==it) a.insert(input); else aOverlap.insert(input); } cout << a.size()-aOverlap.size() << "\n"; return 0; }