10 lines
192 B
Python
10 lines
192 B
Python
#!/usr/bin/python3
|
|
|
|
import sys
|
|
import re
|
|
|
|
for line in sys.stdin:
|
|
if not re.search(r'^[P|p]ies | [P|p]ies | [P|p]ies$|^[P|p]ies$',line) == None:
|
|
print(line, end ='')
|
|
else: pass
|