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