

N=int(eval(input()))

S=set()

for i in range(N):

    s=str(eval(input()))

    S^={s}

print((len(S)))
from collections import Counter

n=int(eval(input()))

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

L1=Counter(L)

ans=0

for i in L1:

    if L1[i]%2!=0:

        ans+=1

print(ans)
N = int(eval(input()))
S = set()
for i in range(N):
    s = str(eval(input()))
    S ^= {s}
print((len(S)))

from collections import Counter

n = int(eval(input()))
L = [int(eval(input())) for i in range(n)]
L1 = Counter(L)
ans = 0
for i in L1:
    if L1[i] % 2 != 0:
        ans += 1
print(ans)

-N = int(eval(input())) -S = set() -for i in range(N): -    s = str(eval(input())) -    S ^= {s} -print((len(S))) +from collections import Counter + +n = int(eval(input())) +L = [int(eval(input())) for i in range(n)] +L1 = Counter(L) +ans = 0 +for i in L1: +    if L1[i] % 2 != 0: +        ans += 1 +print(ans)