#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int a, b, c, d;
  int count;
  while (cin >> n) {
    count = 0;
    for (a = 0; a <= n; ++a) {
      for (b = 0; b <= n - a; ++b) {
        for (c = 0; c <= n - a - b; ++c) {
          count++;
        }
      }
    }
    cout << count << endl;
  }
}
