
import Control.Applicative
import Data.List
import Data.Char

getInt :: IO Int
getInt = (\a -> read a :: Int) <$> getLine

getIntArray :: IO [Int]
getIntArray = ((map (\a -> read a :: Int)) . words) <$> getLine

getStrArray :: Int -> IO [String]
getStrArray 0 = return [] :: IO [String]
getStrArray n = (:) <$> getLine <*> (getStrArray (n - 1))

countTop :: String -> Int
countTop "" = 700
countTop ('o':rst) = 100 + countTop rst
countTop ('x':rst) = countTop rst

main = do
    print =<< countTop <$> getLine
