n = eval(input())

d = {}

for x in range(n):

    temp = eval(input())

    try:

        d[temp] = (d[temp] + 1) % 2

    except:

        d[temp] = 1

print(sum(d.values()))
from collections import Counter

N=int(eval(input()))

r=[]

while N>0:

    N-=1

    r.append(int(eval(input())))

a=Counter(r)

count=0

for i in a:

    count+= a[i]%2

print(count)



n = eval(input())
d = {}
for x in range(n):
    temp = eval(input())
    try:
        d[temp] = (d[temp] + 1) % 2
    except:
        d[temp] = 1
print(sum(d.values()))

from collections import Counter

N = int(eval(input()))
r = []
while N > 0:
    N -= 1
    r.append(int(eval(input())))
a = Counter(r)
count = 0
for i in a:
    count += a[i] % 2
print(count)

-n = eval(input()) -d = {} -for x in range(n): -    temp = eval(input()) -    try: -        d[temp] = (d[temp] + 1) % 2 -    except: -        d[temp] = 1 -print(sum(d.values())) +from collections import Counter + +N = int(eval(input())) +r = [] +while N > 0: +    N -= 1 +    r.append(int(eval(input()))) +a = Counter(r) +count = 0 +for i in a: +    count += a[i] % 2 +print(count)