local n = io.read("*n")
local t = {}
for i = 1, n do
  local a = io.read("*n")
  if(t[a] ~= nil) then t[a] = nil else t[a] = true end
end
local cnt = 0
for k, v in pairs(t) do cnt = cnt + 1 end
print(cnt)
