#include <bits/stdc++.h>
using namespace std;
int rd();
void solve() {
  string st;
  cin >> st;
  int n = (int)(st).size();
  for (int i = 0; i < (n); ++i) {
    for (int j = 0; j < (i + 1); ++j) {
      string cur = "";
      for (int k = 0; k < (n); ++k) {
        if (k < j || k > i) cur += st[k];
      }
      if (cur == "CODEFORCES") {
        puts("YES");
        return;
      }
    }
  }
  puts("NO");
}
int rd() { return (((long long)rand() << 16) ^ rand()) % 1000000000; }
void testGen() {
  FILE *f = fopen("input.txt", "w");
  fclose(f);
}
int main() {
  cerr << fixed;
  cerr.precision(9);
  solve();
  return 0;
}
