S = input() for i in range(1, len(S), 2): if S[i] != " ": print("No") exit() print("Yes")