l = int(input()) a_cnt = l // 2 + 1 b_cnt = l // 2 ans = (a_cnt) * (a_cnt - 1) // 2 + (b_cnt) * (b_cnt - 1) // 2 print(ans)