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