#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  string str = "CODEFORCES";
  string banner;
  cin >> banner;
  bool can_cut = false;
  if (banner.size() >= 10) {
    for (int i = 0; i <= 10; i++) {
      string str1 = banner.substr(0, i);
      string str2 = banner.substr(banner.size() - (10 - i), 10 - i);
      if (str1 + str2 == str) can_cut = true;
    }
  }
  puts(can_cut ? "YES" : "NO");
  return 0;
}
