#include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
int main() {
  string S;
  cin >> S;
  S.append("a");
  int size = S.size();
  bool final_frg = false;
  for (int i = 0; i < size; i++) {
    bool frg0 = false;
    bool frg1 = false;
    bool frg2 = false;
    bool frg3 = false;
    bool frg4 = false;
    bool frg5 = false;
    bool frg6 = false;
    for (int j = i; j < size; j++) {
      if (frg0) {
        if (frg1) {
          if (frg2) {
            if (frg3) {
              if (frg4) {
                if (frg5) {
                  if (frg6) {
                    final_frg = true;
                  } else {
                    if (S[j] == 'e') {
                      frg6 = true;
                    }
                  }
                } else {
                  if (S[j] == 'c') {
                    frg5 = true;
                  }
                }
              } else {
                if (S[j] == 'n') {
                  frg4 = true;
                }
              }
            } else {
              if (S[j] == 'e') {
                frg3 = true;
              }
            }
          } else {
            if (S[j] == 'y') {
              frg2 = true;
            }
          }
        } else {
          if (S[j] == 'e') {
            frg1 = true;
          }
        }
      } else {
        if (S[j] == 'k') {
          frg0 = true;
        }
      }
    }
  }
  if (final_frg) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
