n = int(input()) ans = 0 i = 3 while i <= n: ans += n - i + 1 # print(n - i) i += 2 print(ans)