11 lines
193 B
Python
11 lines
193 B
Python
|
import re
|
||
|
import sys
|
||
|
|
||
|
|
||
|
def line_contain_hamlet(line):
|
||
|
return re.search('19[0-9][0-9] r\.', line)
|
||
|
|
||
|
|
||
|
for line in sys.stdin:
|
||
|
if line_contain_hamlet(line):
|
||
|
print(line.rstrip('\n'))
|