n = int(eval(input()))

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



p = {}

for a in A:

    if a in p:

        if p[a] == 1:

            p[a] = 0

            continue

    p[a] = 1

ans = 0

for i in list(p.values()):ans += i

print(ans)
from collections import Counter

n = int(eval(input()))

a = Counter([eval(input()) for _ in range(n)])

ans = 0

for x in list(a.values()):

    if x%2!=0: ans += 1

print(ans)
n = int(eval(input()))
A = [int(eval(input())) for _ in range(n)]
p = {}
for a in A:
    if a in p:
        if p[a] == 1:
            p[a] = 0
            continue
    p[a] = 1
ans = 0
for i in list(p.values()):
    ans += i
print(ans)

from collections import Counter

n = int(eval(input()))
a = Counter([eval(input()) for _ in range(n)])
ans = 0
for x in list(a.values()):
    if x % 2 != 0:
        ans += 1
print(ans)

+from collections import Counter + -A = [int(eval(input())) for _ in range(n)] -p = {} -for a in A: -    if a in p: -        if p[a] == 1: -            p[a] = 0 -            continue -    p[a] = 1 +a = Counter([eval(input()) for _ in range(n)]) -for i in list(p.values()): -    ans += i +for x in list(a.values()): +    if x % 2 != 0: +        ans += 1