import collections



N = int(eval(input()))

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

ans = 0

num = collections.Counter(A).most_common()



for a, b in num:

    if b % 2 != 0:

        ans += 1



print(ans)
import collections

N = int(eval(input()))

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

ans = 0

dict = collections.Counter(A)



for a, b in list(dict.items()):

    if b % 2 != 0:

        ans += 1

print(ans)
import collections

N = int(eval(input()))
A = [int(eval(input())) for i in range(N)]
ans = 0
num = collections.Counter(A).most_common()
for a, b in num:
    if b % 2 != 0:
        ans += 1
print(ans)

import collections

N = int(eval(input()))
A = [int(eval(input())) for i in range(N)]
ans = 0
dict = collections.Counter(A)
for a, b in list(dict.items()):
    if b % 2 != 0:
        ans += 1
print(ans)

-num = collections.Counter(A).most_common() -for a, b in num: +dict = collections.Counter(A) +for a, b in list(dict.items()):