import collections S = input() base_data = collections.Counter("kyoprotenkei90") if base_data == collections.Counter(S): print("Yes") else: print("No")