#include using namespace std; int main(void){ long long L; cin >> L; L--; L /= 2; L *= L; cout << L << endl; return 0; }