S = input() for i in range(len(S)): if i%2 == 0 and S[i] == " ": print("No") exit() if i%2 == 1 and S[i] != " ": print("No") exit() print("Yes")