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



N, *A = list(map(int, open(0).read().split()))

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

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



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

N, *A = list(map(int, open(0).read().split()))
a = list(Counter(A).values())
a = [i for i in a if i % 2 == 1]
print((len(a)))

-N = int(eval(input())) -A = [int(eval(input())) for i in range(N)] +N, *A = list(map(int, open(0).read().split()))