fun main() { val line = readln() val n = line.toInt() println(n * (n + 1) / 2) }