#!/usr/bin/env python3 import sys s = sys.stdin.readline().rstrip() ans = True for i, c in enumerate(s): if i % 2 == 0: if not c.isalpha() or not c.islower(): ans = False else: if c != ' ': ans = False print(['No', 'Yes'][ans])