fun main(args: Array) { val n = readLine()!!.toInt() var ans = 0L for (i in 0 until n){ ans += readLine()!!.toLong() } println(ans) }