S = input() for i in range(len(S)): if i % 2 == 0 and S[i] == ' ': print('No') break if i % 2 == 1 and S[i] != ' ': print('No') break else: print('Yes')