#include <bits/stdc++.h>
using namespace std;
const char INPUT[] = "HelloWorld.inp";
const char OUTPUT[] = "HelloWorld.out";
int main(void) {
  string input;
  cin >> input;
  const string myTemplateStr = "CODEFORCES";
  if (myTemplateStr.size() > input.size()) {
    cout << "NO" << endl;
    return 0;
  }
  int prefix = 0;
  for (int idInput = 0; idInput < (int)myTemplateStr.size(); ++idInput) {
    if (input[idInput] == myTemplateStr[idInput]) {
      ++prefix;
    } else {
      break;
    }
  }
  int suffix = 0;
  for (int idTemplate = (int)myTemplateStr.size() - 1; idTemplate >= 0;
       --idTemplate) {
    if (input[(int)(input.size() - myTemplateStr.size()) + idTemplate] ==
        myTemplateStr[idTemplate]) {
      ++suffix;
    } else {
      break;
    }
  }
  if (prefix + suffix >= (int)myTemplateStr.size()) {
    cout << "YES" << endl;
  } else {
    cout << "NO" << endl;
  }
  return 0;
}
