import collections

N = int(eval(input()))

x = [0] * N

for i in range(N):

  x[i] = int(eval(input()))

  

q = collections.Counter(x)

value = list(q.values())



count = 0

for i in value:

  if i % 2 == 1:

    count += 1



print(count)

import collections

N = int(eval(input()))

ans = [0] * N



for i in range(N):

  ans[i] = int(eval(input()))

  

C = collections.Counter(ans)

count = 0

for i in list(C.values()):

  if i % 2 == 1:

    count += 1

  

print(count)
import collections

N = int(eval(input()))
x = [0] * N
for i in range(N):
    x[i] = int(eval(input()))
q = collections.Counter(x)
value = list(q.values())
count = 0
for i in value:
    if i % 2 == 1:
        count += 1
print(count)

import collections

N = int(eval(input()))
ans = [0] * N
for i in range(N):
    ans[i] = int(eval(input()))
C = collections.Counter(ans)
count = 0
for i in list(C.values()):
    if i % 2 == 1:
        count += 1
print(count)

-x = [0] * N +ans = [0] * N -    x[i] = int(eval(input())) -q = collections.Counter(x) -value = list(q.values()) +    ans[i] = int(eval(input())) +C = collections.Counter(ans) -for i in value: +for i in list(C.values()):