#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  vector<char> t{'k', 'e', 'y', 'e', 'n', 'c', 'e'};
  int ans = 0;
  for (int i = 0; i < 7; i++) {
    for (int j = 0; j < s.size(); j++) {
      if (t[i] == s[j]) {
        ans++;
        break;
      }
    }
  }
  if (ans == 7) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
}
