def ABC073C(d,i):

    if i in d:

        d[i]= not(d[i])

    else:

        d[i]=True

    return d



n=int(eval(input()))

d=dict()

for i in range(n):

    d = ABC073C(d,int(eval(input())))

print((sum(d.values())))
def ABC073C(d,i):

    if i in d:

        d[i]= not(d[i])

    else:

        d[i]=True

    return d



n,*a=list(map(int,open(0).read().split()))

d=dict()

for i in a:

    d = ABC073C(d,i)

print((sum(d.values())))
def ABC073C(d, i):
    if i in d:
        d[i] = not (d[i])
    else:
        d[i] = True
    return d


n = int(eval(input()))
d = dict()
for i in range(n):
    d = ABC073C(d, int(eval(input())))
print((sum(d.values())))

def ABC073C(d, i):
    if i in d:
        d[i] = not (d[i])
    else:
        d[i] = True
    return d


n, *a = list(map(int, open(0).read().split()))
d = dict()
for i in a:
    d = ABC073C(d, i)
print((sum(d.values())))

-n = int(eval(input())) +n, *a = list(map(int, open(0).read().split())) -for i in range(n): -    d = ABC073C(d, int(eval(input()))) +for i in a: +    d = ABC073C(d, i)