from collections import Counter

print((sum([a % 2 for a in list(Counter([int(eval(input())) for _ in range(int(eval(input())))]).values())])))
from collections import Counter

import sys



def read():

    return sys.stdin.readline().rstrip()



n = int(read())

a = Counter([int(read()) for _ in range(n)])

print((sum([ai % 2 for ai in list(a.values())])))
from collections import Counter

print(
    (
        sum(
            [
                a % 2
                for a in list(
                    Counter(
                        [int(eval(input())) for _ in range(int(eval(input())))]
                    ).values()
                )
            ]
        )
    )
)

from collections import Counter
import sys


def read():
    return sys.stdin.readline().rstrip()


n = int(read())
a = Counter([int(read()) for _ in range(n)])
print((sum([ai % 2 for ai in list(a.values())])))

+import sys -print( -    ( -        sum( -            [ -                a % 2 -                for a in list( -                    Counter( -                        [int(eval(input())) for _ in range(int(eval(input())))] -                    ).values() -                ) -            ] -        ) -    ) -) + +def read(): +    return sys.stdin.readline().rstrip() + + +n = int(read()) +a = Counter([int(read()) for _ in range(n)]) +print((sum([ai % 2 for ai in list(a.values())])))