#include <bits/stdc++.h>
using namespace std;
double const pi = 3.14159265358979;
int const MAXN = 2000000;
long long const MOD = 1000000007;
long long const INF = 1000000000000000000;
int main() {
  string s;
  cin >> s;
  if (s.length() < 10) {
    cout << "NO";
    exit(0);
  }
  for (int i = 0; i < (int)(11); i++) {
    if (s.substr(0, i) + s.substr(s.length() - 10 + i, 10 - i) ==
        "CODEFORCES") {
      cout << "YES";
      exit(0);
    }
  }
  cout << "NO";
  return 0;
}
