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