const fs = require("fs"); const input = fs.readFileSync("/dev/stdin", "utf-8").trim(); const lines = input.split("\n"); const n = Number(lines[0]); let arr = lines[1].split(" ").map( x => Number(x)); const ans = arr.reduce ( (a,b) => a + b); console.log(ans);