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