L=int(input()) l=L//2 print((l-1)*l + (l if L%2==1 else 0))