#include <bits/stdc++.h>
using namespace std;
int main() {
  string a;
  cin >> a;
  char b = a[0], c = a[1], d = a[2];
  char e = a[a.size() - 4], f = a[a.size() - 3], g = a[a.size() - 2],
       h = a[a.size() - 1];
  if (b != 'k' and c != 'e' and d != 'y' and e != 'e' and f != 'n' and
      g != 'c' and h != 'e')
    cout << "NO" << endl;
  else
    cout << "YES" << endl;
}
