from collections import Counter S = Counter(input()) s = Counter("kyoprotenkei90") print("Yes" if S == s else "No")