#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int inf=0x3f3f3f3f;
const ll INF=0x3f3f3f3f3f3f3f;
const double pi=3.1415926535897932384626;
inline ll read(){
	ll x=0,f=1;
	char ch=getchar();
	while(ch<'0'||ch>'9'){
		if(ch=='-') f=-1;
		ch=getchar();
	}
	while(ch>='0'&&ch<='9'){
		x=(x<<1)+(x<<3)+(ch^48);
		ch=getchar();
	}
	return x*f;
}
const int maxn=2e5+5;
ll k,ans,a[maxn],sum[maxn];
int main(){
	k=read();
	for(int i=1;i<=k;++i){
		int x=sqrt(i);
		for(int j=1;j<=x;++j){
			if(i%j==0){
				++a[i];
				if(i/j!=j) ++a[i];
			}
		}
	}
	for(int i=1;i<=k;++i) sum[i]=sum[i-1]+a[i];
	for(int i=1;i<=k;++i) ans+=sum[k/i];
	printf("%lld\n",ans);
	return 0;
}
#include <iostream>

using namespace std;
int main(){
    int i,j,k,x,cnt = 0; cin >> x;
    for(i=1;i<=x;i++){
        for(j=1;j<=x;j++){
            if(i*j>x) break;
            for(k=1;k<=x;k++){
                if(i*j*k>x) break;
                cnt++;
            }
        }
    }
    cout << cnt << endl;
}