s=sorted("kyoprotenkei90") ss=sorted(input()) print(["No","Yes"][s==ss])