S=input().strip() for i in range(len(S)): if i%2==1 and S[i]!=" ": print("No") break else: print("Yes")