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