a = input() tf = True for i in range(len(a)): if i%2 == 0: if not 97 <= ord(a[i]) <= 122: tf = False break else: if a[i] != " ": tf = False break if tf: print("Yes") else: print("No")