let n = int64(stdin.ReadLine())/2L-1L printfn "%d" (n*n+n*2L+1L)