n = int(eval(input()))

d = set()

for i in range(n):

    a = int(eval(input()))

    if a in d:

        d.remove(a)

    else:

        d.add(a)

print((len(d)))
import sys

n = int(eval(input()))

d = set()

b = list(map(int,sys.stdin))

for a in b:

    if a in d:

        d.remove(a)

    else:

        d.add(a)

print((len(d)))
n = int(eval(input()))
d = set()
for i in range(n):
    a = int(eval(input()))
    if a in d:
        d.remove(a)
    else:
        d.add(a)
print((len(d)))

import sys

n = int(eval(input()))
d = set()
b = list(map(int, sys.stdin))
for a in b:
    if a in d:
        d.remove(a)
    else:
        d.add(a)
print((len(d)))

+import sys + -for i in range(n): -    a = int(eval(input())) +b = list(map(int, sys.stdin)) +for a in b: