16 lines
232 B
Plaintext
16 lines
232 B
Plaintext
|
#!/usr/bin/python3
|
||
|
|
||
|
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'))
|