s = input() n = len(s) ok = True for i in range(n): if i%2 == 0: if s[i] < 'a' or 'z' < s[i]: ok = False else: if s[i] != ' ': ok = False print("Yes") if ok else print("No")