n = int(eval(input()))

a = [int(eval(input())) for i in range(n)]

import collections

b = collections.Counter(a)

set_a = list(set(a))

cnt = 0

for i in range(len(set_a)):

    if b[set_a[i]]%2 == 1:

        cnt += 1

print(cnt)
from collections import Counter

n = int(eval(input()))

a = Counter([int(eval(input())) for i in range(n)])

print((sum([v%2 == 1 for v in list(a.values())])))
n = int(eval(input()))
a = [int(eval(input())) for i in range(n)]
import collections

b = collections.Counter(a)
set_a = list(set(a))
cnt = 0
for i in range(len(set_a)):
    if b[set_a[i]] % 2 == 1:
        cnt += 1
print(cnt)

from collections import Counter

n = int(eval(input()))
a = Counter([int(eval(input())) for i in range(n)])
print((sum([v % 2 == 1 for v in list(a.values())])))

+from collections import Counter + -a = [int(eval(input())) for i in range(n)] -import collections - -b = collections.Counter(a) -set_a = list(set(a)) -cnt = 0 -for i in range(len(set_a)): -    if b[set_a[i]] % 2 == 1: -        cnt += 1 -print(cnt) +a = Counter([int(eval(input())) for i in range(n)]) +print((sum([v % 2 == 1 for v in list(a.values())])))