13 lines
211 B
Python
13 lines
211 B
Python
import sys
|
|
|
|
|
|
def line_contain_hamlet(line):
|
|
if 'Hamlet' in line:
|
|
return True
|
|
else:
|
|
return False
|
|
|
|
|
|
for line in sys.stdin:
|
|
if line_contain_hamlet(line):
|
|
print(line.rstrip('\n')) |