import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;

void readV(T...)(ref T t){auto r=readln.splitter;foreach(ref v;t){v=r.front.to!(typeof(v));r.popFront;}}

void main()
{
  int n; readV(n);

  int[int] h;
  foreach (_; 0..n) {
    int a; readV(a);
    h[a]++;
  }

  auto r = 0;
  foreach (v; h.values)
    if (v%2 == 1) ++r;

  writeln(r);
}
