import scala.io.StdIn

object Main extends App {

  val n = StdIn.readLine().toLong

  def fact(before: Long, k: Long): Long = {
    if(k == n) before + n
    else {
      fact(before + k, k + 1)
    }
  }
  
  println(fact(0, 0))

}
