8 lines
138 B
Python
8 lines
138 B
Python
|
import re
|
||
|
import sys
|
||
|
|
||
|
for line in sys.stdin:
|
||
|
stripped_line = line.strip()
|
||
|
if re.search("Hamlet", stripped_line):
|
||
|
print(stripped_line)
|