from collections import Counter



N = int(eval(input()))

A = Counter([int(eval(input())) for i in range(N)])

count = [1 for value in list(A.values()) if value % 2]

print((len(count)))
import sys

from collections import Counter



input = sys.stdin.readline



def main():

    N = int(eval(input()))

    A = Counter([int(eval(input())) for i in range(N)])



    print((sum([1 for c in list(A.values()) if c % 2])))





if __name__ == '__main__':

    main()

from collections import Counter

N = int(eval(input()))
A = Counter([int(eval(input())) for i in range(N)])
count = [1 for value in list(A.values()) if value % 2]
print((len(count)))

import sys
from collections import Counter

input = sys.stdin.readline


def main():
    N = int(eval(input()))
    A = Counter([int(eval(input())) for i in range(N)])
    print((sum([1 for c in list(A.values()) if c % 2])))


if __name__ == "__main__":
    main()

+import sys -N = int(eval(input())) -A = Counter([int(eval(input())) for i in range(N)]) -count = [1 for value in list(A.values()) if value % 2] -print((len(count))) +input = sys.stdin.readline + + +def main(): +    N = int(eval(input())) +    A = Counter([int(eval(input())) for i in range(N)]) +    print((sum([1 for c in list(A.values()) if c % 2]))) + + +if __name__ == "__main__": +    main()