import string s = input() flg = True for i in range(len(s)): if i%2==0: if s[i] not in string.ascii_lowercase: flg = False break else: if s[i] != ' ': flg = False break print('Yes' if flg else 'No')