import collections

ans = 0

n = int(eval(input()))

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

con = collections.Counter(nums)



for i in list(con.values()):

  if i % 2 != 0:

    ans += 1

print(ans)
from collections import Counter

n=int(eval(input()))

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

ans=sum([1 if i%2==1 else 0 for i in list(A.values())])

print(ans)
import collections

ans = 0
n = int(eval(input()))
nums = [int(eval(input())) for i in range(n)]
con = collections.Counter(nums)
for i in list(con.values()):
    if i % 2 != 0:
        ans += 1
print(ans)

from collections import Counter

n = int(eval(input()))
A = Counter([int(eval(input())) for i in range(n)])
ans = sum([1 if i % 2 == 1 else 0 for i in list(A.values())])
print(ans)

-import collections +from collections import Counter -ans = 0 -nums = [int(eval(input())) for i in range(n)] -con = collections.Counter(nums) -for i in list(con.values()): -    if i % 2 != 0: -        ans += 1 +A = Counter([int(eval(input())) for i in range(n)]) +ans = sum([1 if i % 2 == 1 else 0 for i in list(A.values())])