#include <bits/stdc++.h>
using namespace std;
int main() {
  string name;
  cin >> name;
  int len = name.length();
  for (int i = 0; i < len; i++) {
    for (int j = i + 1; j < len + 1; j++) {
      string kep = "";
      for (int k = 0; k < len; k++) {
        if (k < i || k >= j) {
          kep += name[k];
        }
      }
      if (kep == "CODEFORCES") {
        cout << "YES" << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
  return 0;
}
