console.log((args=>{
  const [N,...A] = args.trim().split`\n`.map(v=>v|0);
  const ex = new Map();
  for ( let i = 0; i < N; i++ ) ex.set( A[i], ex.get(A[i])^1 );
  let s = 0;
  for ( const [,v] of ex ) s += v;
  return `${s}`;
})(require('fs').readFileSync('/dev/stdin', 'utf8')));
