for i, c in enumerate(input()): if i%2 and c != ' ': print('No') exit(0) print('Yes')