fun main() { val n = readLine()!!.toInt() val a = List(n) {readLine()!!.toLong()} println(a.sum()) }