#include <bits/stdc++.h>
int main() {
  char s[105];
  scanf("%s", s);
  int can = 0, len = strlen(s);
  for (int i = 0; i < len; i++) {
    char news[11] = {0};
    for (int j = 0, k = 0; k < 10 && s[j]; j++) {
      if (j >= i && j < i + len - 10) continue;
      news[k] = s[j];
      k++;
    }
    if (strcmp(news, "CODEFORCES") == 0) can = 1;
    if (can) break;
  }
  if (can)
    puts("YES");
  else
    puts("NO");
  return 0;
}
