main :: IO () main = getLine >> getLine >>= print.sum.map read.words