#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int f = 0, len = s.length();
  for (int i = 0; i < len; i++) {
    for (int j = 0; j < len; j++) {
      if (s.substr(0, i) + s.substr(j + 1) == "CODEFORCES") {
        cout << "YES" << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
  return 0;
}
