#include <bits/stdc++.h>
using namespace std;
const char keyence[7] = {'k', 'e', 'y', 'w', 'n', 'c', 'e'};
int main() {
  char tmp[100] = {0};
  bool bStr[7] = {false};
  scanf("%s", tmp);
  std::string str(tmp);
  if ((7 <= str.size()) && (str.size() < 100)) {
    for (int i = 0; i < 7; i++) {
      if (0 == str.find(keyence[i])) {
        bStr[i] = true;
      }
    }
  }
  for (int i = 0; i < 7; i++) {
    if (bStr[i] == false) {
      printf("NO\n");
      return 0;
    }
  }
  printf("YES\n");
  return 0;
}
