function Main(input) {
  input = input.split("\n");
  var n = parseInt(input[0]);
  a = new Array(n);
  for(i=0;i<n;i++){
    a[i]=parseInt(input[i+1]);
  }
  p = new Array();
  for(i=0;i<n;i++){
    if(p.indexOf(a[i])!=-1){
      p.splice(p.indexOf(a[i]),1);
    }else{
      p.push(a[i]);
    }
  }
  var ans=p.length;
  console.log('%s', ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));