def yukicoder1592(S): x = "kyoprotenkei90" ans = "Yes" if all(S.count(x[i]) == x.count(x[i]) for i in range(len(x))) else "No" return ans S = input() print(yukicoder1592(S))