counter = 0
N = int(input())
for i in range(N):
v = int(input())
if (v // 10) % 10 == 5:
counter += 1
print(counter)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
counter = 0
N = int(input())
for i in range(N):
v = int(input())
if (v // 10) % 10 == 5:
counter += 1
print(counter)