function Main(input) { let src = input.split("\n"); let N = parseInt(src[0]); let sum = 0n; for (let i = 1; i <= N; i++) { sum += BigInt(src[i]); } console.log(sum.toString()); } Main(require("fs").readFileSync("/dev/stdin", "utf8"));