#include <bits/stdc++.h>
using namespace std;
template <typename T, typename U>
std::pair<T, U> operator+(const std::pair<T, U>& l, const std::pair<T, U>& r) {
  return {l.first + r.first, l.second + r.second};
}
typedef void (*callback_function)(void);
const long long ZERO = 0LL;
const long long INF64 = 1e18;
const long long INF32 = 1e9;
const long long MOD = 1e9 + 7;
const long double PI = acos(-1.0L);
const long double EPS = static_cast<long double>(1e-9);
inline long long Pow(long long a, long long k) {
  long long s = 1;
  for (; k; k >>= 1) {
    k& 1 ? s = 1LL * s * a % MOD : 0;
    a = 1LL * a * a % MOD;
  }
  return s;
}
const long long N = 1e6 + 7;
void solve() {
  long long n;
  cin >> n;
  long long n5 = n + 5;
  long long C5[n5];
  C5[5] = 1;
  for (long long i = (6); i < (n5); i++) {
    C5[i] = (C5[i - 1] * i) / (i - 5);
  }
  long long n3 = n + 3;
  long long C3[n3];
  C3[3] = 1;
  for (long long i = (4); i < (n3); i++) {
    C3[i] = (C3[i - 1] * i) / (i - 3);
  }
  cout << C5[n5 - 1] * C3[n3 - 1] << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie();
  { solve(); }
  return 0;
}
