#include using namespace std; int main() { int N; cin >> N; long long n = (N + 1) / 2; long long ans = (n + 1) * n / 2; cout << ans << endl; }