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