#include <bits/stdc++.h>
using namespace std;
char str[105];
char a[10] = {'C', 'O', 'D', 'E', 'F', 'O', 'R', 'C', 'E', 'S'};
int main() {
  int i, j, n, m, vf = 0, k, vt, st, et;
  scanf("%s", str + 1);
  n = strlen(str + 1);
  k = 0;
  for (st = 1; st <= n; st++) {
    if (str[st] != a[k]) break;
    k++;
    if (k > 9) break;
  }
  vt = 9;
  for (et = n; et >= 1; et--) {
    if (str[et] != a[vt]) break;
    vt--;
    if (vt < 0) break;
  }
  if (k > vt) vf = 1;
  if (vf)
    printf("YES\n");
  else
    printf("NO\n");
  return 0;
}
