st = list(map(ord,list(input()))) if set([32]) != set(st[1::2]): print("No") else: if min(st[::2]) < 97 or 122 < max(st[::2]): print("No") else: print("Yes")