#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); unsigned n,c; unordered_map h; cin >> n; while(cin >> n) if(h[n]==0) {++c;h[n]++;}else if(h[n]==1){--c;h[n]++;}; cout << c << endl; }