#include int main() { int n; std::cin >> n; n = n/3; int k; long long int a; a = 0; for (k=0; k<=n; k++) a = a + k + 1; std::cout << a; }