from collections import Counter N=int(input()) r=[] while N>0: N-=1 r.append(int(input())) a=Counter(r) count=0 for i in a: count+= a[i]%2 print(count)