#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int index = 0;
  for (int i = 0; i < s.length(); i++)
    for (int j = i; j < s.length(); j++) {
      string temp;
      for (int k = 0; k < s.length(); k++)
        if (k < i || k > j) temp += s[k];
      if (temp == "CODEFORCES") {
        cout << "YES" << endl;
        return 0;
      }
    }
  cout << "NO" << endl;
  return 0;
}
