#include <iostream>
using namespace std;

int comb(int n, int k) {
  if(k == 0 || k == n) return 1;
  else return comb(n - 1, k - 1) + comb(n - 1, k);
}

int main() {
  int n;
  while(cin >> n) {
    cout << comb(n + 4 - 1, n) << endl;
  }
  return 0;
}