import std.functional,
       std.algorithm,
       std.bigint,
       std.string,
       std.traits,
       std.array,
       std.range,
       std.stdio,
       std.conv;

void main() {
  long N = readln.chomp.to!long;
  bool[long] A;

  foreach (_; 0..N) {
    long a = readln.chomp.to!long;

    if (a in A) {
      A[a] = !A[a];
    } else {
      A[a] = true;
    }
  }

  long ans;

  foreach (k, v; A) {
    if (v) { ans++; }
  }

  writeln(ans);
}
