#include <bits/stdc++.h>
using namespace std;
template <class T>
bool uin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
bool uax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.precision(10);
  cout << fixed;
  string s;
  cin >> s;
  int N = s.size();
  string t = "CODEFORCES";
  int l = 0, r = 0;
  while (l < min(10, N) && s[l] == t[l]) ++l;
  while (r < min(10, N) && s[N - r - 1] == t[10 - r - 1]) ++r;
  cout << (l + r >= 10 ? "YES" : "NO") << '\n';
  return 0;
}
