from collections import defaultdict S = list(input()) d = defaultdict(lambda:0) X = list("kyoprotenkei90") for v in S: d[v] += 1 for v in X: d[v] -= 1 ans = "Yes" for v in d.keys(): if d[v] != 0: ans = "No" print(ans)