#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  cin.sync_with_stdio(0);
  cout.tie(0);
  string s;
  cin >> s;
  if (s.length() < 10) {
    cout << "NO";
    return 0;
  }
  if (s.substr(0, 10) == "CODEFORCES") {
    cout << "YES";
    return 0;
  }
  if (s.substr(s.length() - 10, 10) == "CODEFORCES") {
    cout << "YES";
    return 0;
  }
  for (int i = 0; i < 10; i++)
    if (s.substr(0, i) + s.substr(s.length() - 10 + i, 10 - i) ==
        "CODEFORCES") {
      cout << "YES";
      return 0;
    }
  cout << "NO";
  return 0;
}
