#include <bits/stdc++.h>
using namespace std;
void read(long long int n = 10) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cout << setprecision(n) << fixed;
}
long long int M = 1e9 + 7;
long long int M1 = 998244353;
vector<vector<long long int>> ncr(1001, vector<long long int>(1001));
void ncrBuild() {
  ncr[0][0] = 1;
  for (long long int i = 1; i < 1001; i++) ncr[i][0] = 1;
  for (long long int i = 1; i < 1001; i++) {
    for (long long int j = 1; j < 1001; j++) {
      ncr[i][j] = ncr[i - 1][j] + ncr[i - 1][j - 1];
    }
  }
}
int32_t main() {
  read();
  long long int n;
  cin >> n;
  long long int a = 5 + n - 1;
  long long int b = 3 + n - 1;
  ncrBuild();
  cout << ncr[a][n - 1] * ncr[b][n - 1] << "\n";
}
