#AT1043. C - Factors of Factorial

C - Factors of Factorial

当前没有测试数据。

C - Factors of Factorial

Score : $300$ points

Problem Statement

You are given an integer $N$. Find the number of the positive divisors of $N!$, modulo $10^9+7$.

Constraints

  • $1≤N≤10^3$

Input

The input is given from Standard Input in the following format:

NN

Output

Print the number of the positive divisors of $N!$, modulo $10^9+7$.


3
4

There are four divisors of $3!$ $=6$: $1$, $2$, $3$ and $6$. Thus, the output should be $4$.


6
30

1000
972926972