module Main where import Control.Applicative import Control.Monad main :: IO () main = do n <- getLine as <- fmap read . words <$> getLine let ans = sum as :: Integer print ans