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