s = input() for i in range(len(s)): if(i%2 and s[i] != ' '): print("No") exit() print("Yes")