"use strict";
  const main = arg => {
  let Nums = arg.split("\n");
  const N = Nums.shift(0)*1;
  let ansNums = [];
  for(let i = 0; i < N; i++){
  	//console.log(Nums[i]);  
  	if(ansNums.find((a)=>{return a == Nums[i]}) == undefined){
    	ansNums.push(Nums[i]);
    }else {
    	ansNums.splice(ansNums.indexOf(Nums[i]),1);
    }
  }
  console.log(ansNums.length);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
