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