import math, sequtils, strutils
 
let
  n = readLine stdin
  a = stdin.readLine.split.map parseInt
 
echo sum a