import std.stdio, std.string, std.conv, std.bigint, std.typecons, std.algorithm, std.array, std.math, std.range, std.functional;
 
void main() {
    auto N = readln.chomp.to!int;
    sort(N.iota.map!(i => readln.chomp.to!ulong).array).group.filter!(g => g[1] % 2 == 1).array.length.writeln;
}
