from collections import defaultdict



N=int(eval(input()))

An=defaultdict(int)

for _ in range(N):

    An[int(eval(input()))]+=1



print((len(list([v for v in list(An.values()) if v%2==1]))))

from collections import Counter



N,*An=list(map(int, open(0).read().split()))



count=Counter(An)

print((len(list([v for v in list(count.values()) if v%2==1]))))



from collections import defaultdict

N = int(eval(input()))
An = defaultdict(int)
for _ in range(N):
    An[int(eval(input()))] += 1
print((len(list([v for v in list(An.values()) if v % 2 == 1]))))

from collections import Counter

N, *An = list(map(int, open(0).read().split()))
count = Counter(An)
print((len(list([v for v in list(count.values()) if v % 2 == 1]))))

-from collections import defaultdict +from collections import Counter -N = int(eval(input())) -An = defaultdict(int) -for _ in range(N): -    An[int(eval(input()))] += 1 -print((len(list([v for v in list(An.values()) if v % 2 == 1])))) +N, *An = list(map(int, open(0).read().split())) +count = Counter(An) +print((len(list([v for v in list(count.values()) if v % 2 == 1]))))