def main(): L = int(input()) ans = (L - 1) * (L - 1) // 4 print(ans) main()