#include // #include using namespace std; // using bigint = boost::multiprecision::cpp_int; template using min_priority_queue = priority_queue,greater>; random_device seed_gen; mt19937 engine(seed_gen()); int64_t get_time_ns(){ struct::timespec t; clock_gettime(CLOCK_MONOTONIC, &t); return t.tv_sec * int64_t(1'000'000'000) + t.tv_nsec; } int main() { int64_t n; cin >> n; int64_t ans; if(n % 2 == 0) { ans = n / 2 * (n - 2) / 2; } else { ans = (n - 1) / 2 * (n - 1) / 2; } cout << ans << endl; return 0; }