#include <bits/stdc++.h>
using namespace std;
int main(int argc, char** argv) {
  string ab, aux;
  string cons = "CODEFORCES";
  while (cin >> ab) {
    bool encontrado = false;
    aux = "";
    for (int i = 0; i < cons.size(); i++) {
      if (ab[i] == cons[i]) {
        aux = aux + ab[i];
      } else {
        break;
      }
    }
    if (ab.size() >= cons.size()) {
      if (aux == cons) {
        encontrado = true;
      } else {
        if (aux == "") {
          int pos = ab.size() - cons.size();
          string res = ab.substr(pos, ab.size());
          if (res == cons) {
            encontrado = true;
          }
        } else {
          string res = cons.substr(aux.size(), cons.size());
          int pos = ab.size() - res.size();
          string val = ab.substr(pos, ab.size());
          if (val == res) {
            encontrado = true;
          }
        }
      }
    }
    if (encontrado) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }
  return 0;
}
