#include <bits/stdc++.h>
using namespace std;
string s, s2;
int main() {
  cin >> s;
  s2 = "CODEFORCES";
  if (s.size() < s2.size()) {
    printf("NO\n");
    return 0;
  }
  if (s.compare(s2) == 0) {
    printf("YES\n");
    return 0;
  }
  for (int i = 0; i < s.size(); i++)
    for (int j = i; j < s.size(); j++) {
      string curr = "";
      for (int k = 0; k < s.size(); k++)
        if (k < i || k > j) curr += s[k];
      if (curr.compare(s2) == 0) {
        printf("YES\n");
        return 0;
      }
    }
  printf("NO\n");
  return 0;
}
