djfz-2023-s473575/TaskD03/run.py
2023-11-26 12:43:45 +01:00

8 lines
163 B
Python

import re
import sys
for line in sys.stdin:
stripped_line = line.strip()
if re.search("19[0-9][0-9] r\.", stripped_line, re.IGNORECASE):
print(stripped_line)