function Main(input) { const data = input.split("\n"); const N = data[0]; const arrayNums = data[1].split(" "); let sum = BigInt(0); for (i=0; i