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