#include <bits/stdc++.h>
using namespace std;
int i, j, M, N = 10;
char str[110], W[15] = "CODEFORCES";
int main() {
  scanf("%s", str);
  M = strlen(str);
  i = 0;
  while (i < M && i < N && str[i] == W[i]) i++;
  j = M - N + i;
  while (j < M && i < N && str[j] == W[i]) {
    ++i;
    ++j;
  }
  i == 10 ? printf("YES\n") : printf("NO\n");
}
