#include<iostream>#include<string>using namespace std;int traveral(string);int main(){    string s;    cin>>s;    if(traveral(s)) cout<<"Yes";    else            cout<<"No";    return 0;}int traveral(string s){    int i,j;    for(i = 0;i < s.length();i++)    {        if(s[i] == 'C')        {            for(j = i+1 ;j < s.length(); j++)            {                if(s[j] == 'F')                {                    return 1;                }            }        }    }    return 0;}