from collections import Counter



n = int(eval(input()))

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



A = Counter(A)

num = []

for a in list(A.items()):

    if a[1]%2 != 0:

        num.append(a[0])



print((len(set(num))))
from collections import Counter



n = int(eval(input()))

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



D = Counter(A)

res = 0

for v in list(D.values()):

    if v%2 != 0:

        res += 1



print(res)
from collections import Counter

n = int(eval(input()))
A = [int(eval(input())) for i in range(n)]
A = Counter(A)
num = []
for a in list(A.items()):
    if a[1] % 2 != 0:
        num.append(a[0])
print((len(set(num))))

from collections import Counter

n = int(eval(input()))
A = [int(eval(input())) for i in range(n)]
D = Counter(A)
res = 0
for v in list(D.values()):
    if v % 2 != 0:
        res += 1
print(res)

-A = Counter(A) -num = [] -for a in list(A.items()): -    if a[1] % 2 != 0: -        num.append(a[0]) -print((len(set(num)))) +D = Counter(A) +res = 0 +for v in list(D.values()): +    if v % 2 != 0: +        res += 1 +print(res)