#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t = 1;
  while (t--) {
    unsigned long long int n;
    cin >> n;
    unsigned long long int ans =
        ((n + 2) / 1 * (n + 1) / 2 * n / 3) *
        ((n + 4) / 1 * (n + 3) / 2 * (n + 2) / 3 * (n + 1) / 4 * n / 5);
    cout << ans;
  }
  return 0;
}
