S = input() for s in "kyoprotenkei90": if s not in S: print("No") break else: print("Yes")