9 lines
174 B
Python
9 lines
174 B
Python
import re
|
|
import sys
|
|
|
|
for line in sys.stdin:
|
|
stripped_line = line.strip()
|
|
if re.search(r'^(PCMCIA|WYSIWYG|[A-Z]{2,5})$', stripped_line):
|
|
print('yes')
|
|
else:
|
|
print('no') |