N = int(eval(input()))

list=set()

for i in range(N):

    list ^= {int(eval(input()))}

print((len(list)))
from collections import Counter



N = int(eval(input()))

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



c = Counter(A)



ans = 0

for i, j in list(c.items()):

    if j%2 != 0:

        ans += 1



print(ans)
N = int(eval(input()))
list = set()
for i in range(N):
    list ^= {int(eval(input()))}
print((len(list)))

from collections import Counter

N = int(eval(input()))
A = [int(eval(input())) for i in range(N)]
c = Counter(A)
ans = 0
for i, j in list(c.items()):
    if j % 2 != 0:
        ans += 1
print(ans)

+from collections import Counter + -list = set() -for i in range(N): -    list ^= {int(eval(input()))} -print((len(list))) +A = [int(eval(input())) for i in range(N)] +c = Counter(A) +ans = 0 +for i, j in list(c.items()): +    if j % 2 != 0: +        ans += 1 +print(ans)