#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:256000000")
using namespace std;
long long d[505][10][10];
int main() {
  int n;
  cin >> n;
  d[0][0][0] = 1;
  for (int i = 1; i <= n; ++i) {
    for (int j = 0; j <= 5; ++j) {
      for (int k = 0; k <= 3; ++k) {
        for (int nj = 0; nj <= j; ++nj) {
          for (int nk = 0; nk <= k; ++nk) {
            d[i][j][k] += d[i - 1][nj][nk];
          }
        }
      }
    }
  }
  cout << d[n][5][3];
  return 0;
}
