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