#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  string templ = "CODEFROCES";
  cin >> s;
  int z = 0;
  int t = -1;
  if (s.length() < 10) {
    cout << "NO";
    return 0;
  }
  if (s[0] == 'C' && s.substr(s.length() - 9, 9) == "ODEFORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 2) == "CO" && s.substr(s.length() - 8, 8) == "DEFORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 3) == "COD" && s.substr(s.length() - 7, 7) == "EFORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 4) == "CODE" && s.substr(s.length() - 6, 6) == "FORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 5) == "CODEF" && s.substr(s.length() - 5, 5) == "ORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 6) == "CODEFO" && s.substr(s.length() - 4, 4) == "RCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 7) == "CODEFOR" && s.substr(s.length() - 3, 3) == "CES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 8) == "CODEFORC" && s.substr(s.length() - 2, 2) == "ES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 9) == "CODEFORCE" && s.substr(s.length() - 1, 1) == "S") {
    cout << "YES";
    return 0;
  }
  if (s.substr(0, 10) == "CODEFORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(s.length() - 10, 10) == "CODEFORCES") {
    cout << "YES";
    return 0;
  }
  cout << "NO";
  return 0;
}
