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