def solve(): S = input() if S[0::2].islower() and "".join(set(S[1::2])) == " ": return "Yes" return "No" print(solve())