17 lines
300 B
Python
17 lines
300 B
Python
import sys
|
|
|
|
|
|
def is_pies_in_lin(line):
|
|
line = line.lower().rstrip('\n')
|
|
line_array = line.split(' ')
|
|
# print(line_array)
|
|
if 'pies' in line_array:
|
|
return True
|
|
else:
|
|
return False
|
|
|
|
|
|
for line in sys.stdin:
|
|
if is_pies_in_lin(line):
|
|
print(line.rstrip('\n'))
|