import java.util.* fun main(args: Array) { val cin = Scanner(System.`in`) val n = cin.nextInt() println("${n * (n + 1) / 2}") }