main : IO() main = do line <- getLine print $ sum $ map cast $ words line