import strutils,sequtils var L = stdin.readline.parseInt a = (L + 1) div 2 b = L div 2 cnt = a * (a - 1) div 2 + b * (b - 1) div 2 echo cnt