#include using namespace std; #ifdef LOCAL #include "algo/debug.h" #else #define debug(...) (void(0)) #endif void solve() { unsigned long long N; cin >> N; unsigned long long t = (N % 2 == 0 ? N / 2 : N); unsigned long long s = ((N + 1) % 2 == 0 ? (N + 1) / 2 : N + 1); cout << t * s << endl; } int main() { std::ios::sync_with_stdio(false); std::cin.tie(nullptr); int tt = 1; // std::cin >> tt; while(tt--) { solve(); } }