N = int(eval(input()))

memo = {}

for i in range(N):

  A = int(eval(input()))

  if(A in memo):

    memo[A] += 1

  else:

    memo[A] = 1

cnt = 0

for k, v in list(memo.items()):

  cnt += v%2

print(cnt)
from collections import Counter



N = int(eval(input()))

A = [int(eval(input())) for _ in range(N)]



a = Counter(A)

res = 0

for v in list(a.values()):

  if(v%2 == 1):

    res += 1

print(res)
N = int(eval(input()))
memo = {}
for i in range(N):
    A = int(eval(input()))
    if A in memo:
        memo[A] += 1
    else:
        memo[A] = 1
cnt = 0
for k, v in list(memo.items()):
    cnt += v % 2
print(cnt)

from collections import Counter

N = int(eval(input()))
A = [int(eval(input())) for _ in range(N)]
a = Counter(A)
res = 0
for v in list(a.values()):
    if v % 2 == 1:
        res += 1
print(res)

+from collections import Counter + -memo = {} -for i in range(N): -    A = int(eval(input())) -    if A in memo: -        memo[A] += 1 -    else: -        memo[A] = 1 -cnt = 0 -for k, v in list(memo.items()): -    cnt += v % 2 -print(cnt) +A = [int(eval(input())) for _ in range(N)] +a = Counter(A) +res = 0 +for v in list(a.values()): +    if v % 2 == 1: +        res += 1 +print(res)