djfz-2019-s426197/TaskA07/run.py

11 lines
173 B
Python
Raw Normal View History

2019-11-05 11:02:47 +01:00
import sys
import re
regex = re.compile('(^[\*]+$)')
for line in sys.stdin:
if regex.match(line.replace('\n', '')):
print('yes')
else:
print('no')