s=list(input()) ans=list("kyoprotenkei90") ans.sort() s.sort() print("Yes" if s==ans else "No")