import sys sys.setrecursionlimit(10 ** 7) input = sys.stdin.readline f_inf = float('inf') MOD = 10 ** 9 + 7 def solve(): S = list(input().rstrip()) T = list("kyoprotenkei90") print("Yes" if sorted(S) == sorted(T) else "No") if __name__ == '__main__': solve()