#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int n = s.length();
  string t = "CODEFORCES";
  int l = 0, r = 0;
  while (l < 10 && s[l] == t[l]) l++;
  while (r < 10 && s[n - r - 1] == t[10 - r - 1]) r++;
  cout << (l + r >= 10 ? "YES" : "NO") << "\n";
  return 0;
}
