#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long int c = 1;
  c = 1LL * (n + 2) * (n + 1) / 2 * n / 3;
  c *= 1LL * (n + 4) * (n + 3) / 2 * (n + 2) / 3 * (n + 1) / 4 * n / 5;
  cout << c;
  return 0;
}
