import strutils,sequtils,math

var n = readLine stdin
var a = stdin.readLine.split.map parseInt
echo sum a