main :: IO()
main = do
    str <- getLine
    putStrLn $ if (countx str < 8) then "YES" else "NO"


countx :: String -> Int
countx str
    | str == []			= 0
    | head str == 'x'	= 1 + countx (tail str)
    | otherwise			= countx (tail str)