fun main(args: Array) { val n = readLine()!!.toInt() val ans = LongArray(n, { readLine()!!.toLong() }).sum() println(ans) }