import strutils,sequtils,math

var n = parseInt readLine stdin
var a = (0..<n).mapIt parseInt readLine stdin
echo sum a