Problem: A large banner with word CODEFORCES was ordered for the 1000-th onsite round of Codeforcesω that takes place on the Miami beach. Unfortunately, the company that made the banner mixed up two orders and delivered somebody else's banner that contains someone else's word. The word on the banner consists only of upper-case English letters.

There is very little time to correct the mistake. All that we can manage to do is to cut out some substring from the banner, i.e. several consecutive letters. After that all the resulting parts of the banner will be glued into a single piece (if the beginning or the end of the original banner was cut out, only one part remains); it is not allowed change the relative order of parts of the banner (i.e. after a substring is cut, several first and last letters are left, it is allowed only to glue the last letters to the right of the first letters). Thus, for example, for example, you can cut a substring out from string 'TEMPLATE' and get string 'TEMPLE' (if you cut out string AT), 'PLATE' (if you cut out TEM), 'T' (if you cut out EMPLATE), etc.

Help the organizers of the round determine whether it is possible to cut out of the banner some substring in such a way that the remaining parts formed word CODEFORCES.

Input

The single line of the input contains the word written on the banner. The word only consists of upper-case English letters. The word is non-empty and its length doesn't exceed 100 characters. It is guaranteed that the word isn't word CODEFORCES.

Output

Print 'YES', if there exists a way to cut out the substring, and 'NO' otherwise (without the quotes).

Examples

Input

CODEWAITFORITFORCES


Output

YES


Input

BOTTOMCODER


Output

NO


Input

DECODEFORCES


Output

YES


Input

DOGEFORCES


Output

NO

Solution (in JAVA):

Solution:
import java.math.BigInteger;
import java.sql.*;
import java.sql.Statement;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Main {

    private static final String DB_DRIVER = "oracle.jdbc.driver.OracleDriver";
    private static final String DB_CONNECTION = "jdbc:oracle:thin:@127.0.0.1:1521:XE";
    private static final String DB_USER = "SANAN";
    private static final String DB_PASSWORD = "Sy13131435";




    private  static  String query;

    private static Scanner s = new Scanner(System.in);


    static int n;

    static String S;

    public static void main(String[] args) {

        Locale.setDefault(Locale.ENGLISH);


        //getDataFromDB("SELECT * FROM STUDENT");


        S=s.next();


        boolean flag = false;
        for (int i = 0; i < S.length(); i++) {
            for (int j = i; j <= S.length(); j++) {
                String S1 = S.substring(0, i)+S.substring(j,S.length());
                
                if(S1.equals("CODEFORCES")) {
                    flag=true;
                }
            }
        }


        if(flag) System.out.println("YES"); else System.out.println("NO");





    }



    static int numberOfDivisors(int n) {
        int num = 0;
        for (int i = 1; i <=n/2 ; i++) {
            if(n%i==0) {
                num++;
            }
        }
        return num+1;
    }



    private static String inputQuery() {

        Scanner scanner = new Scanner(System.in);
        query = scanner.nextLine();
        return query;
    }

    private static Connection getDBConnection (){

        Connection dbConnection = null;

        try {
            Class.forName(DB_DRIVER);
        } catch (ClassNotFoundException e) {
            System.out.println("Where is your driver");
            e.printStackTrace();
        }

        try {

            dbConnection = DriverManager.getConnection(DB_CONNECTION, DB_USER, DB_PASSWORD);
            return dbConnection;
        } catch (SQLException e) {
             System.out.println("Connection failed");
            e.printStackTrace();
        }


       return dbConnection;
    }


    private static void getDataFromDB(String SQLQuery) {

        Connection connection = null;
        Statement statement = null;

        try {

            connection = getDBConnection();
            statement = connection.createStatement();

            ResultSet rs = statement.executeQuery(SQLQuery);

            while (rs.next()) {

                String ID = rs.getString("ID");
                String NAME = rs.getString("NAME");
                String SURNAME = rs.getString("SURNAME");
                String GROUPS_ID = rs.getString("GROUPS_ID");
                String AVERAGE_POINT = rs.getString("AVERAGE_POINT");

                System.out.println("ID : " +ID);
                System.out.println("NAME : "+NAME);
                System.out.println("SURNAME : "+SURNAME);
                System.out.println("GROUPS_ID : "+GROUPS_ID);
                System.out.println("AVERAGE_POINT : "+AVERAGE_POINT+"\n");

            }

        } catch (SQLException e) {
            e.printStackTrace();
        }

        finally {
            if (statement != null ) {

                try {
                    statement.close();
                } catch (SQLException e) {
                    e.printStackTrace();
                }
            }
            if (connection != null) {

                try {
                    connection.close();
                } catch (SQLException e) {
                    e.printStackTrace();
                }

            }
        }


    }
}