#include <bits/stdc++.h>
using namespace std;
const int IMAX = ((1 << 30) - 1) * 2 + 1;
const double EPS = 1e-10;
int main() {
  int n, ans;
  while (cin >> n) {
    ans = 0;
    for (int i = 0; i <= n; i++) {
      for (int j = 0; j <= n - i; j++) {
        for (int k = 0; k <= n - i - j; k++) {
          ans++;
        }
      }
    }
    cout << ans << endl;
  }
}
