#include <bits/stdc++.h>
using namespace std;
int main() {
  string banner, of = "CODEFORCES";
  getline(cin, banner);
  string newbanner = banner;
  for (int y = 0; y < newbanner.size(); y++) {
    for (int x = y; x < newbanner.size(); x++) {
      for (int z = y; z <= x; z++) {
        newbanner.erase(y, 1);
      }
      if (newbanner == of) {
        cout << "YES" << endl;
        return 0;
      }
      newbanner = banner;
    }
  }
  cout << "NO" << endl;
  return 0;
}
