-- Try AtCoder
-- author: Leonardone @ NEETSDKASU

yes = "Yes"
no  = "No"

search ch = search' where
    search' (x:xs)
        | x == ch   = xs
        | otherwise = search' xs
    search' []      = []

searchC = search 'C'
searchF = search 'F'

answer [] = no
answer _  = yes

main = putStrLn . answer . searchF . searchC =<< getLine

