djfz-2023-s473575/TaskE05/run.py
2023-12-10 19:09:40 +01:00

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')