n = int(eval(input()))

ans = 0

dic1 = dict()

for i in range(n):

    a = int(eval(input()))

    if a in dic1:

        dic1[a] += 1

    else:

        dic1[a] = 1

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

    ans += i%2

print(ans)
import sys

readline = sys.stdin.buffer.readline

def even(n): return 1 if n%2==0 else 0



dic1 = dict()



n = int(readline())

for i in range(n):

    a = int(readline())

    if a in dic1:

        dic1[a] += 1

    else:

        dic1[a] = 1



ans = 0

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

    if not even(i):

        ans += 1

print(ans)
n = int(eval(input()))
ans = 0
dic1 = dict()
for i in range(n):
    a = int(eval(input()))
    if a in dic1:
        dic1[a] += 1
    else:
        dic1[a] = 1
for i in list(dic1.values()):
    ans += i % 2
print(ans)

import sys

readline = sys.stdin.buffer.readline


def even(n):
    return 1 if n % 2 == 0 else 0


dic1 = dict()
n = int(readline())
for i in range(n):
    a = int(readline())
    if a in dic1:
        dic1[a] += 1
    else:
        dic1[a] = 1
ans = 0
for i in list(dic1.values()):
    if not even(i):
        ans += 1
print(ans)

-n = int(eval(input())) -ans = 0 +import sys + +readline = sys.stdin.buffer.readline + + +def even(n): +    return 1 if n % 2 == 0 else 0 + + +n = int(readline()) -    a = int(eval(input())) +    a = int(readline()) +ans = 0 -    ans += i % 2 +    if not even(i): +        ans += 1