S = list(input()) T = list("kyoprotenkei90") if sorted(S) == sorted(T): print("Yes") else: print("No")