#include <bits/stdc++.h>
using namespace std;
string s, f = "CODEFORCES", t;
int n;
int main() {
  cin >> s;
  n = s.size();
  for (int i = 0; i < n; i++) {
    for (int j = i; j < n; j++) {
      string cur = t;
      for (int k = j + 1; k < n; k++) cur += s[k];
      if (cur == f) {
        cout << "YES";
        return 0;
      }
    }
    t += s[i];
  }
  cout << "NO";
  return 0;
}
