import re import sys pattern = re.compile(r"^\*+$") for line in sys.stdin: x = re.findall(pattern, line) if x: print('yes') else: print("no")