1)
num = int(input())
first_list = [str(input()) for n in range(num)]
second_list = []
for number in first_list:
if number[-1] == '1' and number[-2] == '1':
second_list.append(number)
print(len(second_list))
2)
if int(number) > 100:
1)
num = int(input())
first_list = [str(input()) for n in range(num)]
second_list = []
for number in first_list:
if number[-1] == '1' and number[-2] == '1':
second_list.append(number)
print(len(second_list))
2)
num = int(input())
first_list = [str(input()) for n in range(num)]
second_list = []
for number in first_list:
if int(number) > 100:
second_list.append(number)
print(len(second_list))