#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  string s;
  cin >> s;
  const string cf = "CODEFORCES";
  int n = int((s).size());
  for (int i = 0; i < n; ++i) {
    for (int j = 0; j < n - i + 1; ++j) {
      string t = s;
      t.erase(i, j);
      if (t == cf) {
        cout << "YES";
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
