ans = list("kyoprotenkei90") ans.sort() S = sorted(input()) for i in range(len(ans)): if ans[i] != S[i]: print("No") break else: print("Yes")