package main
import "fmt"
func main(){
    // Your code here!
    var n int
    fmt.Scan(&n)
    fmt.Println(n*(n+1)/2)
}