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