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