#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
  ios ::sync_with_stdio(0);
  while (cin >> s) {
    string target = "CODEFORCES";
    bool ans = false;
    if (s == target)
      ans = true;
    else {
      for (int i = 0; i < ((int)(s.size())); i++) {
        for (int j = i; j < ((int)(s.size())); j++) {
          string res = "";
          for (int k = 0; k < ((int)(s.size())); k++) {
            if (k < i || k > j) {
              res += s[k];
            }
          }
          if (res == target) {
            ans = true;
            goto show_ans;
          }
        }
      }
    }
  show_ans:
    cout << (ans ? "YES" : "NO") << "\n";
  }
  return 0;
}
