#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=int(a);i<int(b);++i)
using namespace std;
typedef long long ll;
int INF = (1LL << 30) - 1;
int MOD = 1e9+7;
int N;
vector<int> vec;
ll dfs(int i, int x){
    if(i == N){
        if(x == 75)return 1;
        else return 0;
    }
    if(x > 75)return 0;
    ll res = 0;
    rep(j,0,vec[i]+1){
        res += dfs(i+1, x * (j+1));
    }
    return res;
}
int main(){
    
    cin >> N;
    vec.resize(N+1);
    rep(i,1,N+1){
        int m = i;
        rep(j,2,i+1)while(m % j == 0){
            m /= j;
            vec[j]++;
        }
    }
    cout << dfs(0, 1) << endl;
}