import numpy as np



n = int(eval(input()))

d = [int(eval(input())) for i in range(n)]

    

print((len(np.unique(d))))
n = int(eval(input()))

d = {int(eval(input())) for i in range(n)}

    

print((len(d)))
import numpy as np

n = int(eval(input()))
d = [int(eval(input())) for i in range(n)]
print((len(np.unique(d))))

n = int(eval(input()))
d = {int(eval(input())) for i in range(n)}
print((len(d)))

-import numpy as np - -d = [int(eval(input())) for i in range(n)] -print((len(np.unique(d)))) +d = {int(eval(input())) for i in range(n)} +print((len(d)))