djfz-2023-s464933/TaskD03/run.py

11 lines
180 B
Python
Raw Normal View History

2023-12-17 21:57:50 +01:00
import re
import sys
def pog_champ(input):
for _, l in enumerate(input, start=1):
if re.search(r'19\d{2} r\.', l):
print(l.strip())
pog_champ(sys.stdin)