import sys S = input() for i in range(len(S)): if i % 2 == 0: if S == ' ': print('No') exit() else: if S != ' ': print('No') exit() print('Yes')