11 lines
173 B
Python
11 lines
173 B
Python
import sys
|
|
import re
|
|
|
|
regex = re.compile('(^[\*]+$)')
|
|
|
|
for line in sys.stdin:
|
|
if regex.match(line.replace('\n', '')):
|
|
print('yes')
|
|
else:
|
|
print('no')
|