#include #include #define pr(s) std::cout << s << std::endl using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); int d; cin >> d; if (d < 4) { cout << "0" << endl; return 0; } int s = d / 4; int f = d % 4; int v; if (f < 2) { v = s*s; } else{ v = s*(s + 1); } cout << v << endl; return 0; }