local mod = 1000000007
local function bmul(x, y) return (x * y) % mod end
local n = io.read("*n")
local ret = 1
local t = {}
for i = 1, n do t[i] = true end
for i = 2, n do
  if t[i] then
    local c = 0
    for j = i, n, i do
      t[j] = false
      while j % i == 0 do
        c = c + 1
        j = j // i
      end
    end
    ret = bmul(ret, (c + 1))
  end
end
print(ret)
