11 lines
180 B
Python
11 lines
180 B
Python
|
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)
|