djfz-2020-s444399/TaskA01/run
2020-10-26 14:57:00 +01:00

16 lines
232 B
Python

#!/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'))