n = int(eval(input()))



d = {}

ans = 0

for i in range(n):

  s = eval(input())

  if s not in list(d.keys()):

    ans += 1

    d[s] = 0

print(ans)

import collections



n = int(eval(input()))



s = []

for _ in range(n):

    s.append(eval(input()))



count = collections.Counter(s)

print((len(count)))

n = int(eval(input()))
d = {}
ans = 0
for i in range(n):
    s = eval(input())
    if s not in list(d.keys()):
        ans += 1
        d[s] = 0
print(ans)

import collections

n = int(eval(input()))
s = []
for _ in range(n):
    s.append(eval(input()))
count = collections.Counter(s)
print((len(count)))

+import collections + -d = {} -ans = 0 -for i in range(n): -    s = eval(input()) -    if s not in list(d.keys()): -        ans += 1 -        d[s] = 0 -print(ans) +s = [] +for _ in range(n): +    s.append(eval(input())) +count = collections.Counter(s) +print((len(count)))