import std.algorithm, std.conv, std.range, std.stdio, std.string;

void main()
{
  auto n = readln.chomp.to!size_t;

  bool[int] buf;
  foreach (_; 0..n) {
    auto a = readln.chomp.to!int;
    if (a in buf) {
      buf.remove(a);
    } else {
      buf[a] = true;
    }
  }

  writeln(buf.length);
}
