#include <iostream>
#include <cstdio>
#include <cmath>
const int maxn = 2001;
const int oo = 1000000007;
using namespace std;
long long n,m,dp[maxn][maxn],u[maxn][maxn];
int main()
{
std::ios_base::sync_with_stdio(false);
//freopen("psu01.inp","r",stdin);
//freopen("psu01.out","w",stdout);
cin >> n >> m;
for (int i=1; i<=n; i++)
{
dp[i][1]=1;
u[i][0]=1;
u[i][1]=1;
}
for (int i=2; i<=n; i++)
for (int j=i; j<=n; j+=i)
{
u[j][0]++;
u[j][u[j][0]]=i;
}
for (int i=2; i<=m; i++)
for (int j=1; j<=n; j++)
{
dp[j][i]=0;
for (int z=1; z<=u[j][0]; z++)
dp[j][i]=(dp[j][i]+dp[u[j][z]][i-1])%oo;
//cout << j << ' ' << i << ' ' <<dp[j][i] << "\n";
}
long res=0;
for (int i=1; i<=n; i++)
res=(res+dp[i][m])%oo;
cout << res;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGlvPgojaW5jbHVkZSA8Y21hdGg+CmNvbnN0IGludCBtYXhuID0gMjAwMTsKY29uc3QgaW50IG9vID0gMTAwMDAwMDAwNzsKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKbG9uZyBsb25nIG4sbSxkcFttYXhuXVttYXhuXSx1W21heG5dW21heG5dOwppbnQgbWFpbigpCnsKICAgIHN0ZDo6aW9zX2Jhc2U6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICAvL2ZyZW9wZW4oInBzdTAxLmlucCIsInIiLHN0ZGluKTsKICAgIC8vZnJlb3BlbigicHN1MDEub3V0IiwidyIsc3Rkb3V0KTsKICAgIGNpbiA+PiBuID4+IG07CiAgICBmb3IgKGludCBpPTE7IGk8PW47IGkrKykKICAgIHsKICAgICAgICBkcFtpXVsxXT0xOwogICAgICAgIHVbaV1bMF09MTsKICAgICAgICB1W2ldWzFdPTE7CiAgICB9CiAgICBmb3IgKGludCBpPTI7IGk8PW47IGkrKykKICAgIGZvciAoaW50IGo9aTsgajw9bjsgais9aSkKICAgIHsKICAgICAgICB1W2pdWzBdKys7CiAgICAgICAgdVtqXVt1W2pdWzBdXT1pOwogICAgfQogICAgZm9yIChpbnQgaT0yOyBpPD1tOyBpKyspCiAgICBmb3IgKGludCBqPTE7IGo8PW47IGorKykKICAgIHsKICAgICAgICBkcFtqXVtpXT0wOwogICAgICAgIGZvciAoaW50IHo9MTsgejw9dVtqXVswXTsgeisrKQogICAgICAgIGRwW2pdW2ldPShkcFtqXVtpXStkcFt1W2pdW3pdXVtpLTFdKSVvbzsKICAgICAgICAvL2NvdXQgPDwgaiA8PCAnICcgPDwgaSA8PCAnICcgPDxkcFtqXVtpXSA8PCAiXG4iOwogICAgfQogICAgbG9uZyByZXM9MDsKICAgIGZvciAoaW50IGk9MTsgaTw9bjsgaSsrKQogICAgcmVzPShyZXMrZHBbaV1bbV0pJW9vOwogICAgY291dCA8PCByZXM7CiAgICByZXR1cm4gMDsKfQo=