#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  string s;
  cin >> s;
  int size = s.size();
  int index = 0;
  for (int i = 0; i < size; i++) {
    for (int j = i; j < size; j++) {
      string a = "";
      for (int f = 0; f < i; f++) {
        a += s[f];
      }
      for (int l = j + 1; l < size; l++) {
        a += s[l];
      }
      if (a == "CODEFORCES") {
        cout << "YES\n";
        return 0;
      }
    }
  }
  cout << "NO\n";
  return 0;
  return 0;
}
