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