from collections import Counter

n=int(eval(input()))

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

b=Counter(a)

c=[k for k,v in list(b.items()) if v%2==1]

print((len(c)))
from collections import*

n,*a=list(map(int,open(0).read().split()))

print((sum(v%2 for v in list(Counter(a).values()))))
from collections import Counter

n = int(eval(input()))
a = [int(eval(input())) for i in range(n)]
b = Counter(a)
c = [k for k, v in list(b.items()) if v % 2 == 1]
print((len(c)))

from collections import *

n, *a = list(map(int, open(0).read().split()))
print((sum(v % 2 for v in list(Counter(a).values()))))

-from collections import Counter +from collections import * -n = int(eval(input())) -a = [int(eval(input())) for i in range(n)] -b = Counter(a) -c = [k for k, v in list(b.items()) if v % 2 == 1] -print((len(c))) +n, *a = list(map(int, open(0).read().split())) +print((sum(v % 2 for v in list(Counter(a).values()))))