#include int main() { long N; long a, b; std::cin >> N; a = N / 2; b = N - a; std::cout << (a+1) * (b+1) - 1 << std::endl; return 0; }