from collections import Counter

N = int(eval(input()))

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

c = Counter(A)

print((sum(tuple([x % 2 for x in list(c.values())]))))
import sys

from collections import Counter

input = sys.stdin.readline

N = int(eval(input()))

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

c = Counter(A)

print((sum([x % 2 for x in list(c.values())])))
from collections import Counter

N = int(eval(input()))
A = [int(eval(input())) for _ in range(N)]
c = Counter(A)
print((sum(tuple([x % 2 for x in list(c.values())]))))

import sys
from collections import Counter

input = sys.stdin.readline
N = int(eval(input()))
A = [int(eval(input())) for _ in range(N)]
c = Counter(A)
print((sum([x % 2 for x in list(c.values())])))

+import sys +input = sys.stdin.readline -print((sum(tuple([x % 2 for x in list(c.values())])))) +print((sum([x % 2 for x in list(c.values())])))