#include <bits/stdc++.h>
using namespace std;
long long kmulticb(int n, int k) {
  long long ans = 1;
  for (int i = 1; i <= k; i++) {
    ans *= (long long)(n + i - 1);
    ans /= (long long)i;
  }
  return ans;
}
int main() {
  int n;
  cin >> n;
  cout << kmulticb(n, 5) * kmulticb(n, 3);
  return 0;
}
