ans=sorted("kyoprotenkei90") s=sorted(input()) if s==ans: print("Yes") else: print("No")