#include <bits/stdc++.h>
using namespace std;
const string CODEFORCES = "CODEFORCES";
void solve() {
  string s;
  cin >> s;
  for (int i = 0; i <= (int((s).size())); ++i) {
    for (int j = i; j <= (int((s).size())); ++j) {
      if (s.substr(0, i) + s.substr(j) == CODEFORCES) {
        cout << "YES" << endl;
        return;
      }
    }
  }
  cout << "NO" << endl;
}
int main(int argc, char *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.precision(10);
  cout << fixed;
  if (argc > 1 && fopen(argv[1], "r")) freopen(argv[1], "rt", stdin);
  solve();
  return 0;
}
