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