#include <bits/stdc++.h>
using namespace std;
long long spf[1000002];
void sieve() {
  for (long long i = 0; i < 5000002; i++) spf[i] = i;
  for (long long i = 2; i < 5000002; i = i + 2) spf[i] = 2;
  for (long long i = 3; i * i < 5000002; i = i + 2) {
    if (spf[i] == i) {
      spf[i] = i;
      for (long long j = i * i; j < 5000002; j = j + i) {
        if (spf[j] == j) {
          spf[j] = i;
        }
      }
    }
  }
}
long long power(long long x, unsigned long long y) {
  long long res = 1;
  while (y > 0) {
    if (y & 1) res = res * x % 1000000007;
    y = y >> 1;
    x = x * x % 1000000007;
  }
  return res % 1000000007;
}
void solve() {
  long long n;
  cin >> n;
  long long ans1 = 1;
  long long ans2 = 1;
  for (long long i = 0; i < 5; i++) {
    ans1 = (ans1 * (n + 4 - i)) / (i + 1);
  }
  for (long long i = 0; i < 3; i++) {
    ans2 = (ans2 * (n + 2 - i)) / (i + 1);
  }
  long long ans = ans1 * ans2;
  cout << ans << "\n";
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long test;
  test = 1;
  while (test--) {
    solve();
  }
  return 0;
}
