N=int(input()) ANS=0 for i in range(1,N): ANS=max(ANS,(i+1)*(N-i+1)) print(ANS-1)