#include <bits/stdc++.h>
using namespace std;
string a[1] = {"CODEFORCES"}, s;
int main() {
  cin >> s;
  for (int i = 0; i < s.length(); i++) {
    int j = 0, h = 0;
    while (j < s.length() && h < 10) {
      if (j == i) j += s.length() - 10;
      if (a[0][h] != s[j]) break;
      h++, j++;
    }
    if (h == 10) {
      cout << "YES";
      return 0;
    }
  }
  cout << "NO";
  return 0;
}
