#include<iostream>
#include<map>
using namespace std;
int main(){
  map<string, bool> mp;
  int n;
  scanf("%d", &n);
  string s;
  for(int i=0;i<n;i++){
    cin >> s;
    if(mp[s]){
      mp[s] = !mp[s];
    } else {
      mp[s] = true;
    }
  }
  int count = 0;
  for(map<string ,bool>::iterator it = mp.begin();it != mp.end();it++){
    if(it -> second){
      count ++;
    }
  }
  printf("%d", count);
  return 0; 
}