#include <bits/stdc++.h>
long long int comb(int n, int k) {
  long long unsigned int i, a;
  a = n;
  if (n == k) {
    return 1;
  } else {
    for (i = 0; i < k - 1; i++) {
      a = a * (n - 1 - i) / (2 + i);
    }
    return a;
  }
}
int main() {
  long long unsigned int i, j, k;
  scanf("%lld", &i);
  j = (comb((5 + i - 1), 5)) * (comb((3 + i - 1), 3));
  printf("%lld", j);
}
