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