#include int main() { long long length; std::cin >> length; long long ans = (length - 1)*(length - 1) / 4; std::cout << ans << std::endl; return 0; }