from collections import Counter
def p_fact(n):
  m=n
  i=2
  a=[]
  while n>1:
    if i>m**.5:
      a+=[n]
      break
    if n%i==0:
      n//=i
      a+=[i]
    else:i+=1  
  return a
a=[]
for i in range(1,int(input())+1):
  a+=p_fact(i)
ans=1
mod=10**9+7
for i in list(Counter(a).values()):
  ans*=(i+1)
  ans%=mod
print(ans)
6d99be5310f55dd83cc2a720b21148bcd46063f2
<mask token>

<mask token>


def p_fact(n):
    m = n
    i = 2
    a = []
    while n > 1:
        if i > m ** 0.5:
            a += [n]
            break
        if n % i == 0:
            n //= i
            a += [i]
        else:
            i += 1
    return a


<mask token>
for i in range(1, int(input()) + 1):
    a += p_fact(i)
<mask token>
for i in list(Counter(a).values()):
    ans *= i + 1
    ans %= mod
print(ans)

<mask token>


def p_fact(n):
    m = n
    i = 2
    a = []
    while n > 1:
        if i > m ** 0.5:
            a += [n]
            break
        if n % i == 0:
            n //= i
            a += [i]
        else:
            i += 1
    return a


a = []
for i in range(1, int(input()) + 1):
    a += p_fact(i)
ans = 1
mod = 10 ** 9 + 7
for i in list(Counter(a).values()):
    ans *= i + 1
    ans %= mod
print(ans)

from collections import Counter


def p_fact(n):
    m = n
    i = 2
    a = []
    while n > 1:
        if i > m ** 0.5:
            a += [n]
            break
        if n % i == 0:
            n //= i
            a += [i]
        else:
            i += 1
    return a


a = []
for i in range(1, int(input()) + 1):
    a += p_fact(i)
ans = 1
mod = 10 ** 9 + 7
for i in list(Counter(a).values()):
    ans *= i + 1
    ans %= mod
print(ans)

from collections import Counter
def p_fact(n):
  m=n
  i=2
  a=[]
  while n>1:
    if i>m**.5:
      a+=[n]
      break
    if n%i==0:
      n//=i
      a+=[i]
    else:i+=1  
  return a
a=[]
for i in range(1,int(input())+1):
  a+=p_fact(i)
ans=1
mod=10**9+7
for i in list(Counter(a).values()):
  ans*=(i+1)
  ans%=mod
print(ans)