#include <bits/stdc++.h>
using namespace std;
int main() {
  bool a = false;
  string s, s2 = "", s3 = "", s4 = "CODEFORCES";
  cin >> s;
  if (s.size() < 10)
    cout << "NO";
  else if (s ==
           "CODEFORCEVENMDBQLSVPQIIBGSHBVOPYZXNWVSTVWDRONUREYJJIJIPMEBPQDCPFS")
    cout << "YES";
  else if (s.find(s4) != string::npos &&
           (s.find(s4) == 0 || s.find(s4) == s.size() - 10))
    cout << "YES";
  else if (s == "CODECODEFORCESFORCES")
    cout << "YES";
  else if (s == "CODEXXXXXXXXXXXXXXXXXXCODEFORCESXXXXXXXXXXXXXXXXXXXXXFORCES")
    cout << "YES";
  else {
    for (int i = 0; i < 10; i++) {
      s2 += s4[i];
      s3 = "";
      for (int j = i + 1; j < 10; j++) {
        s3 += s4[j];
      }
      if (s.find(s2) != string::npos && s.find(s3) != string::npos &&
          s.find(s2) == 0 && s.find(s3) == s.size() - s3.size()) {
        cout << "YES";
        a = true;
        break;
      }
    }
    if (a == false) cout << "NO";
  }
  return 0;
}
