You are given an integer N. Find the number of the positive divisors of N!, modulo 10^9+7.
N = int(input())
e = 10**9 + 7
ans = 1
for i in range(1,N+1):
    ans = (ans * i) % e
print(ans)
N = int(input())
e = 10**9 + 7
P = []
for i in range(2,N+1):
    a = 1
    for p in P:
        if i % p == 0:
            a = 0
            break
    if a == 1:
        P.append(i)
d = {}
for p in P:
    d[p] = 1
for i in range(1,N+1):
    x = i
    for p in P:
        while x % p == 0:
            x = x//p
            d[p] += 1
ans = 1
for p in P:
    ans = (ans*d[p])%e
    
print(ans)