#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/STACK:102400000,102400000")
const int mod = 1000000007;
int dp[2020][2020];
vector<int> s[2020];
int main() {
  int n, k;
  int ans;
  cin >> n >> k;
  for (int i = 1; i <= 2000; ++i)
    for (int j = i; j <= 2000; ++j) {
      if (j % i == 0) s[j].push_back(i);
    }
  for (int i = 1; i <= n; ++i) dp[1][i] = 1;
  for (int i = 2; i <= k; ++i) {
    for (int j = 1; j <= n; ++j) {
      for (int l = 0; l < s[j].size(); ++l) {
        dp[i][j] += dp[i - 1][s[j][l]];
        dp[i][j] %= mod;
      }
    }
  }
  ans = 0;
  for (int i = 1; i <= n; ++i) {
    ans += dp[k][i];
    ans %= mod;
  }
  cout << ans << endl;
}
