from collections import Counter

N = int(eval(input()))

numbers = [int(eval(input())) for i in range(N)]



num_cnt = Counter(numbers)



ans_box = list([x for x in list(num_cnt.values()) if x%2==1])

print((len(ans_box)))
from collections import defaultdict

N = int(eval(input()))

D = defaultdict(int)

for i in range(N):

    D[int(eval(input()))] += 1



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

from collections import Counter

N = int(eval(input()))
numbers = [int(eval(input())) for i in range(N)]
num_cnt = Counter(numbers)
ans_box = list([x for x in list(num_cnt.values()) if x % 2 == 1])
print((len(ans_box)))

from collections import defaultdict

N = int(eval(input()))
D = defaultdict(int)
for i in range(N):
    D[int(eval(input()))] += 1
print((len(list([x for x in list(D.values()) if x % 2 == 1]))))

-from collections import Counter +from collections import defaultdict -numbers = [int(eval(input())) for i in range(N)] -num_cnt = Counter(numbers) -ans_box = list([x for x in list(num_cnt.values()) if x % 2 == 1]) -print((len(ans_box))) +D = defaultdict(int) +for i in range(N): +    D[int(eval(input()))] += 1 +print((len(list([x for x in list(D.values()) if x % 2 == 1]))))