fun main(args: Array){ val n = readLine()!!.toInt() val array = readLine()!!.split(" ").map { it.toInt() } println(array.sum()) }