#include <bits/stdc++.h>
using namespace std;
const long double eps = 1e-7;
const int inf = 1000000010;
const int mod = 1000000007;
const int MAXN = 300010;
struct edge {
  int x, w, ind;
};
long long n, m, k, ans, t, a, b, u, v, w;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> n;
  n += 2;
  ans = n * (n - 1) * (n - 2) / 6;
  n += 2;
  ans *= n * (n - 1) / 2 * (n - 2) / 3 * (n - 3) / 4 * (n - 4) / 5;
  cout << ans << endl;
  return 0;
}
