#include <bits/stdc++.h>
using namespace std;
int main() {
  string s, a, b;
  cin >> s;
  int n = s.size();
  if (n < 10) {
    puts("NO");
    return 0;
  }
  a.assign(s, 0, 10);
  b.assign(s, n - 10, 10);
  if (a == "CODEFORCES" || b == "CODEFORCES") {
    puts("YES");
    return 0;
  }
  for (int i = 1; i < 10; ++i) {
    a.assign(s, 0, i);
    b.assign(s, n - 10 + i, 10 - i);
    if (a + b == "CODEFORCES") {
      puts("YES");
      return 0;
    }
  }
  puts("NO");
  return 0;
}
