const row = require('fs').readFileSync('/dev/stdin', 'utf8').split('\n'); let sum = 0; for (i = 1; i < row.length - 1; i++) { sum = sum + BigInt(row[i]); } console.log(String(sum));