S=input() for i in range(len(S)): if i%2==0: if S[i].upper(): print("No"),quit() else: if S[i]!=" ": print("No"),quit() print("Yes")