#include <bits/stdc++.h>
int main() {
  char a[] = "CODEFORCES";
  char s[105];
  scanf(" %s", s);
  int len = strlen(s);
  int t = len;
  int x = 0, y = 0;
  while (x < 10 && s[x] == a[x]) x++;
  while (y < 10 && s[t - 1 - y] == a[9 - y]) y++;
  if (x + y >= 10)
    printf("YES\n");
  else
    printf("NO\n");
  return 0;
}
