#include <bits/stdc++.h>   using namespace std;   long long n;   int main() {     ios::sync_with_stdio(false), cin.tie(0);     cin >> n;     long long a = (n + 2) * (n + 1) * n / 6,               b = (n + 4) * (n + 3) * (n + 2) * (n + 1) * n / 120;     cout << a * b;     return 0;   }   