S = input() for i, s in enumerate(S): if i%2==0: if s==" ": print("No") exit() else: if s!=" ": print("No") exit() print("Yes")