// yukicoder: No.111 あばばばば // 2019.4.12 bal4u #include int main() { int L; long long ans; scanf("%d", &L); if (L & 1) { ans = (L - 1) >> 1; ans *= ans; } else { L >>= 1; ans = L - 1; ans = ans * ans + 1; } printf("%lld\n", ans); return 0; }