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