N = int(eval(input()))

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

array = []

ans = 0

A.sort()

count = 0



for i in range(N):

  count += 1

  if i == N-1:

    if count%2 == 1:

      ans += 1

#    print(A[i], count, ans)

    

#  elif A[i] == A[i+1]:

#    print(A[i], count, ans)

    

  elif A[i] != A[i+1]:

    if count % 2 == 1:

      ans += 1

#    print(A[i], count, ans)

    count = 0



print(ans)
N = int(eval(input()))

paper = {}

ans = 0

for i in range(N):

  A = int(eval(input()))

  if A in list(paper.keys()):

    paper[A] += 1

  else:

    paper[A] = 1

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

  if i%2 == 1:

    ans += 1

print(ans)
N = int(eval(input()))
A = [int(eval(input())) for i in range(N)]
array = []
ans = 0
A.sort()
count = 0
for i in range(N):
    count += 1
    if i == N - 1:
        if count % 2 == 1:
            ans += 1
    #    print(A[i], count, ans)
    #  elif A[i] == A[i+1]:
    #    print(A[i], count, ans)
    elif A[i] != A[i + 1]:
        if count % 2 == 1:
            ans += 1
        #    print(A[i], count, ans)
        count = 0
print(ans)

N = int(eval(input()))
paper = {}
ans = 0
for i in range(N):
    A = int(eval(input()))
    if A in list(paper.keys()):
        paper[A] += 1
    else:
        paper[A] = 1
for i in list(paper.values()):
    if i % 2 == 1:
        ans += 1
print(ans)

-A = [int(eval(input())) for i in range(N)] -array = [] +paper = {} -A.sort() -count = 0 -    count += 1 -    if i == N - 1: -        if count % 2 == 1: -            ans += 1 -    #    print(A[i], count, ans) -    #  elif A[i] == A[i+1]: -    #    print(A[i], count, ans) -    elif A[i] != A[i + 1]: -        if count % 2 == 1: -            ans += 1 -        #    print(A[i], count, ans) -        count = 0 +    A = int(eval(input())) +    if A in list(paper.keys()): +        paper[A] += 1 +    else: +        paper[A] = 1 +for i in list(paper.values()): +    if i % 2 == 1: +        ans += 1