S = input() flag = True for i in range(len(S)): if i % 2 == 0: if S[i] == " ": flag = False #break else: if S[i] != " ": flag = False #break if flag: print("Yes") else:print("No")