N = int(eval(input()))

A = set([])



for i in range(N):

    temp = int(eval(input()))

    if temp not in A:

        A.add(temp)

    else:

        A.remove(temp)



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



N = int(eval(input()))

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

a = list(Counter(A).values())

a = [i for i in a if i % 2 == 1]



print((len(a)))
N = int(eval(input()))
A = set([])
for i in range(N):
    temp = int(eval(input()))
    if temp not in A:
        A.add(temp)
    else:
        A.remove(temp)
print((len(A)))

from collections import Counter

N = int(eval(input()))
A = [int(eval(input())) for i in range(N)]
a = list(Counter(A).values())
a = [i for i in a if i % 2 == 1]
print((len(a)))

+from collections import Counter + -A = set([]) -for i in range(N): -    temp = int(eval(input())) -    if temp not in A: -        A.add(temp) -    else: -        A.remove(temp) -print((len(A))) +A = [int(eval(input())) for i in range(N)] +a = list(Counter(A).values()) +a = [i for i in a if i % 2 == 1] +print((len(a)))