#include <bits/stdc++.h>
using namespace std;
template <class T>
void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()) {
  v.assign(a, vector<T>(b, t));
}
template <class F, class T>
void convert(const F &f, T &t) {
  stringstream ss;
  ss << f;
  ss >> t;
}
long long comb[550][550];
void mainmain() {
  int n;
  cin >> n;
  for (int(i) = (0); (i) < ((550)); ++(i)) {
    comb[i][0] = comb[i][i] = 1;
    for (int j = (1); j < (i); ++j) {
      comb[i][j] = comb[i - 1][j - 1] + comb[i - 1][j];
    }
  }
  cout << comb[n - 1 + 5][5] * comb[n - 1 + 3][3] << endl;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout << fixed << setprecision(20);
  mainmain();
}
