n = int(eval(input()))

a = {}

cnt = 0

for i in range(n):

    tmp = int(eval(input()))

    if tmp not in a:

        a[tmp] = 1

    else:

        a[tmp] += 1



for v in list(a.values()):

    if v % 2 != 0:

        cnt += 1



print(cnt)
import collections



n = int(eval(input()))

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

ans = 0



c = collections.Counter(a)



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

    if i % 2 != 0:

        ans += 1



print(ans)
n = int(eval(input()))
a = {}
cnt = 0
for i in range(n):
    tmp = int(eval(input()))
    if tmp not in a:
        a[tmp] = 1
    else:
        a[tmp] += 1
for v in list(a.values()):
    if v % 2 != 0:
        cnt += 1
print(cnt)

import collections

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

+import collections + -a = {} -cnt = 0 -for i in range(n): -    tmp = int(eval(input())) -    if tmp not in a: -        a[tmp] = 1 -    else: -        a[tmp] += 1 -for v in list(a.values()): -    if v % 2 != 0: -        cnt += 1 -print(cnt) +a = [int(eval(input())) for _ in range(n)] +ans = 0 +c = collections.Counter(a) +for i in list(c.values()): +    if i % 2 != 0: +        ans += 1 +print(ans)