N = int(eval(input()))



a = {}

for i in range(N):

    x = eval(input())

    if x in a:

        del a[x]

    else:

        a[x] = 0

print((len(a)))

import sys

input=sys.stdin.readline



N = int(eval(input()))

 

a = {}

for i in range(N):

    x = eval(input())

    if x in a:

        del a[x]

    else:

        a[x] = 0

print((len(a)))

N = int(eval(input()))
a = {}
for i in range(N):
    x = eval(input())
    if x in a:
        del a[x]
    else:
        a[x] = 0
print((len(a)))

import sys

input = sys.stdin.readline
N = int(eval(input()))
a = {}
for i in range(N):
    x = eval(input())
    if x in a:
        del a[x]
    else:
        a[x] = 0
print((len(a)))

+import sys + +input = sys.stdin.readline