12 lines
169 B
Plaintext
12 lines
169 B
Plaintext
|
#!/usr/bin/python3
|
||
|
|
||
|
import sys
|
||
|
import re
|
||
|
|
||
|
for input in sys.stdin.readlines():
|
||
|
answer = re.search('.*Hamlet.*',input);
|
||
|
if answer:
|
||
|
print(answer.group())
|
||
|
else:
|
||
|
pass
|