N = int(eval(input()))

S = set()

for i in range(N):

  num = int(eval(input()))

  if num in S:

    S.remove(num)

  else:

    S.add(num)

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

n = int(eval(input()))

ans = 0

C = Counter(int(eval(input())) for _ in range(n))

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

    if c % 2 == 1:

        ans += 1

print(ans)

N = int(eval(input()))
S = set()
for i in range(N):
    num = int(eval(input()))
    if num in S:
        S.remove(num)
    else:
        S.add(num)
print((len(S)))

from collections import Counter

n = int(eval(input()))
ans = 0
C = Counter(int(eval(input())) for _ in range(n))
for c in list(C.values()):
    if c % 2 == 1:
        ans += 1
print(ans)

-N = int(eval(input())) -S = set() -for i in range(N): -    num = int(eval(input())) -    if num in S: -        S.remove(num) -    else: -        S.add(num) -print((len(S))) +from collections import Counter + +n = int(eval(input())) +ans = 0 +C = Counter(int(eval(input())) for _ in range(n)) +for c in list(C.values()): +    if c % 2 == 1: +        ans += 1 +print(ans)