L=int(input()) num_a=int(L/2)+1 num_b=int(L/2) if L==3: ans=1 else: ans=int(num_a*(num_a-1)/2)+int((num_b)*(num_b-1)/2) print(ans)