#include <bits/stdc++.h>
int main() {
  char ar[1000];
  scanf("%s", ar);
  int i = 0, s = 0;
  while (ar[i] != '\0') {
    if (ar[i] == 'k' && s == 0)
      ++s;
    else if (ar[i] == 'e' && s == 1)
      ++s;
    else if (ar[i] == 'y' && s == 2)
      ++s;
    else if (ar[i] == 'e' && s == 3)
      ++s;
    else if (ar[i] == 'n' && s == 4)
      ++s;
    else if (ar[i] == 'c' && s == 5)
      ++s;
    else if (ar[i] == 'e' && s == 6)
      ++s;
    ++i;
  }
  if (s == 7)
    printf("YES\n");
  else
    printf("NO\n");
  return 0;
}
