N = int(eval(input()))

S = set()

for _ in range(N):

  t = eval(input())

  if t in S:

    S.discard(t)

  else:

    S.add(t)

print((len(S)))
from collections import Counter

N = int(eval(input()))

c = Counter([eval(input()) for _ in range(N)])

print((sum(i%2 for i in list(c.values()))))
N = int(eval(input()))
S = set()
for _ in range(N):
    t = eval(input())
    if t in S:
        S.discard(t)
    else:
        S.add(t)
print((len(S)))

from collections import Counter

N = int(eval(input()))
c = Counter([eval(input()) for _ in range(N)])
print((sum(i % 2 for i in list(c.values()))))

+from collections import Counter + -S = set() -for _ in range(N): -    t = eval(input()) -    if t in S: -        S.discard(t) -    else: -        S.add(t) -print((len(S))) +c = Counter([eval(input()) for _ in range(N)]) +print((sum(i % 2 for i in list(c.values()))))