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