1 задача
unknown
python
5 years ago
228 B
13
Indexable
month = int(input())
counter = 0
while True:
string = input()
# print(string)
if string == '0': break
stud_is, last_month = map(int, string.split())
if last_month == month: counter += 1
print(counter)Editor is loading...