from math import factorial

n = int(eval(input()))

m = factorial(n)

s = 2

ans = 1

while m != 1:

    c = 1

    while m % s == 0:

        c += 1

        m = m // s

    ans *= c

    s += 1

print((ans % (10**9+7)))
from math import factorial

n = int(eval(input()))

m = factorial(n)

s = 2

ans = 1

while m > 1:

    c = 1

    while m % s == 0:

        c += 1

        m = m // s

    ans *= c

    s += 1

print((ans % (10**9+7)))
from math import factorial

n = int(eval(input()))
m = factorial(n)
s = 2
ans = 1
while m != 1:
    c = 1
    while m % s == 0:
        c += 1
        m = m // s
    ans *= c
    s += 1
print((ans % (10**9 + 7)))

from math import factorial

n = int(eval(input()))
m = factorial(n)
s = 2
ans = 1
while m > 1:
    c = 1
    while m % s == 0:
        c += 1
        m = m // s
    ans *= c
    s += 1
print((ans % (10**9 + 7)))

-while m != 1: +while m > 1: