#include <bits/stdc++.h>
using namespace std;

int main() {
  string S;
  cin >> S;
  string s = "kyoprotenkei90";

  vector<char> S1, S2;
  for (auto c : S) S1.push_back(c);
  for (auto c : s) S2.push_back(c);

  sort(S1.begin(), S1.end()), sort(S2.begin(), S2.end());
  if (S1 == S2) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }

  return 0;
}