a,z = ord('a'),ord('z') s = input() if all(a <= ord(i) <= z for i in s[::2]) and all(i == ' ' for i in s[1::2]): print('Yes') else: print('No')