12 lines
173 B
Plaintext
12 lines
173 B
Plaintext
![]() |
#!/usr/bin/python3
|
||
|
|
||
|
import sys
|
||
|
import re
|
||
|
|
||
|
for input in sys.stdin.readlines():
|
||
|
answer = re.search('( |^)(P|p)ies( |$)',input);
|
||
|
if answer:
|
||
|
print(input[:-1])
|
||
|
else:
|
||
|
pass
|