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

from collections import *

c=Counter(l)

print((sum(v%2 for v in list(c.values()))))
import sys

f=sys.stdin.readline

l=[f() for _ in range(int(f()))]

from collections import *

c=Counter(l)

print((sum(v%2 for v in list(c.values()))))
l = [eval(input()) for _ in range(int(eval(input())))]
from collections import *

c = Counter(l)
print((sum(v % 2 for v in list(c.values()))))

import sys

f = sys.stdin.readline
l = [f() for _ in range(int(f()))]
from collections import *

c = Counter(l)
print((sum(v % 2 for v in list(c.values()))))

-l = [eval(input()) for _ in range(int(eval(input())))] +import sys + +f = sys.stdin.readline +l = [f() for _ in range(int(f()))]