#include<iostream>#include<cstring>#include<algorithm>usingnamespace std;constint N =1000010;constint mod =1e9+7;int primes[N], cnt;bool st[N];//线性筛法voidinit(int n){
for(int i =2; i <= n; i ++){
if(!st[i]) primes[cnt ++]= i;for(int j =0; primes[j]<= n / i; j ++){
st[primes[j]* i]=true;if(i % primes[j]==0)break;}}}intmain(){
int n;cin >> n;init(n);int res =1;//阶乘分解模板for(int i =0; i < cnt; i ++){
int p = primes[i];int s =0;for(int j = n; j ; j /= p) s += j / p;res =(longlong)res *(2* s +1)% mod;}cout << res << endl;return0;}