import collections

table=collections.defaultdict(int)

N=int(eval(input()))

for i in range(N):

  table[eval(input())]+=1

table=list(table.values())

table=[table[i] for i in range(len(table)) if table[i]%2==1]

print((len(table)))
import sys

import collections

N = int(eval(input()))

input = sys.stdin.readline

d = collections.defaultdict(int)

for i in range(N):

    a = int(eval(input()))

    d[a] += 1

ans = 0

for x in d:

    if d[x] % 2 == 1:

        ans += 1

print(ans)

import collections

table = collections.defaultdict(int)
N = int(eval(input()))
for i in range(N):
    table[eval(input())] += 1
table = list(table.values())
table = [table[i] for i in range(len(table)) if table[i] % 2 == 1]
print((len(table)))

import sys
import collections

N = int(eval(input()))
input = sys.stdin.readline
d = collections.defaultdict(int)
for i in range(N):
    a = int(eval(input()))
    d[a] += 1
ans = 0
for x in d:
    if d[x] % 2 == 1:
        ans += 1
print(ans)

+import sys -table = collections.defaultdict(int) +input = sys.stdin.readline +d = collections.defaultdict(int) -    table[eval(input())] += 1 -table = list(table.values()) -table = [table[i] for i in range(len(table)) if table[i] % 2 == 1] -print((len(table))) +    a = int(eval(input())) +    d[a] += 1 +ans = 0 +for x in d: +    if d[x] % 2 == 1: +        ans += 1 +print(ans)