#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  long long dp[8][1000];
  for (int i = 0; i < 1000; i++) dp[0][i] = 1;
  for (int i = 0; i < 8; i++) dp[i][i] = 1;
  for (int i = 1; i < 8; i++)
    for (int j = i + 1; j < 1000; j++)
      dp[i][j] = dp[i][j - 1] + dp[i - 1][j - 1];
  int n;
  cin >> n;
  cout << dp[3][n + 2] * dp[5][n + 4] << endl;
  return 0;
}
