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