fun main(){println((1..readLine()!!.toInt()).sum())}