from collections import defaultdict

d = defaultdict(int)

n = int(input())

for _ in range(n):

    d[int(input())] += 1

print(len([x for x in list(d.values()) if x % 2 == 1]))

from collections import Counter

n = int(input())

c = Counter([int(input()) for _ in range(n)])

print(len([x for x in list(c.values()) if x % 2 == 1]))

from collections import defaultdict

d = defaultdict(int)
n = int(input())
for _ in range(n):
    d[int(input())] += 1
print(len([x for x in list(d.values()) if x % 2 == 1]))

from collections import Counter

n = int(input())
c = Counter([int(input()) for _ in range(n)])
print(len([x for x in list(c.values()) if x % 2 == 1]))

-from collections import defaultdict +from collections import Counter -d = defaultdict(int) -for _ in range(n): -    d[int(input())] += 1 -print(len([x for x in list(d.values()) if x % 2 == 1])) +c = Counter([int(input()) for _ in range(n)]) +print(len([x for x in list(c.values()) if x % 2 == 1]))