fun main() { val builder = StringBuilder() val n = readInputLine().toInt() builder.appendLine(n * (n + 1) / 2) print(builder.toString()) } fun readInputLine(): String { return readLine()!! }