L=int(input()) s=0 for l in range(3,L+1): if l%2==0: s+=l//2-1 else: s+=l//2 print(s)