S = input() for i in range(len(S)): if S[i] in 'kyoprotenkei90': continue else: print('No') exit() print('Yes')