n = int(eval(input()))

ans = 0

d = dict()

for i in range(n):

    a = int(eval(input()))

    if a not in d:

        d[a] = 0

    d[a] += 1

da = list(d.values())

for i in range(len(da)):

    if da[i] % 2 == 1:

        ans += 1

print(ans)

import collections

n = int(eval(input()))

a = [int(eval(input())) for i in range(n)]

a = collections.Counter(a)

a = list(a.values())

cnt = 0

for i in range(len(a)):

    if a[i] % 2 == 1:

        cnt += 1

print(cnt)



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

import collections

n = int(eval(input()))
a = [int(eval(input())) for i in range(n)]
a = collections.Counter(a)
a = list(a.values())
cnt = 0
for i in range(len(a)):
    if a[i] % 2 == 1:
        cnt += 1
print(cnt)

+import collections + -ans = 0 -d = dict() -for i in range(n): -    a = int(eval(input())) -    if a not in d: -        d[a] = 0 -    d[a] += 1 -da = list(d.values()) -for i in range(len(da)): -    if da[i] % 2 == 1: -        ans += 1 -print(ans) +a = [int(eval(input())) for i in range(n)] +a = collections.Counter(a) +a = list(a.values()) +cnt = 0 +for i in range(len(a)): +    if a[i] % 2 == 1: +        cnt += 1 +print(cnt)