package main import ( "fmt" ) func main() { var N int fmt.Scan(&N) ret := 0 for i := 1; i <= N; i++ { ret += i } fmt.Println(ret) }