#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int n = s.size();
  for (int l = -1; l < n; l++)
    for (int r = l; r < n; r++) {
      string x;
      for (int i = 0; i < n; i++)
        if (i < l || i > r) x.push_back(s[i]);
      if (x == "CODEFORCES") {
        printf("YES");
        return 0;
      }
    }
  printf("NO");
}
