from collections import defaultdict

n = int(eval(input()))

d = defaultdict(int)



for _ in range(n):

  d[int(eval(input()))] += 1



count = 0

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

  if v % 2 != 0:

    count += 1

print(count)



from collections import Counter

N = int(eval(input()))

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

ca = Counter(A)



ans = 0

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

  if v%2:

    ans += 1

print(ans)
from collections import defaultdict

n = int(eval(input()))
d = defaultdict(int)
for _ in range(n):
    d[int(eval(input()))] += 1
count = 0
for v in list(d.values()):
    if v % 2 != 0:
        count += 1
print(count)

from collections import Counter

N = int(eval(input()))
A = [int(eval(input())) for _ in range(N)]
ca = Counter(A)
ans = 0
for v in list(ca.values()):
    if v % 2:
        ans += 1
print(ans)

-from collections import defaultdict +from collections import Counter -n = int(eval(input())) -d = defaultdict(int) -for _ in range(n): -    d[int(eval(input()))] += 1 -count = 0 -for v in list(d.values()): -    if v % 2 != 0: -        count += 1 -print(count) +N = int(eval(input())) +A = [int(eval(input())) for _ in range(N)] +ca = Counter(A) +ans = 0 +for v in list(ca.values()): +    if v % 2: +        ans += 1 +print(ans)