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