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