#include <bits/stdc++.h>
using namespace std;
template <class T>
inline T MAX(T a, T b) {
  if (a > b) return a;
  return b;
}
template <class T>
inline T MIN(T a, T b) {
  if (a < b) return a;
  return b;
}
template <class T>
inline T ABS(T x) {
  if (x < 0) return -x;
  return x;
}
inline void OPEN(const string &s) {
  freopen((s + ".in").c_str(), "r", stdin);
  freopen((s + ".out").c_str(), "w", stdout);
}
const static int inf = 1000000000;
int n, k;
int dp[2005][2005];
vector<vector<int> > fac(2005);
void gen() {
  for (int(i) = (1); (i) <= (n); ++(i)) {
    fac[i].push_back(1);
    if (i == 1) continue;
    fac[i].push_back(i);
    for (int j = 2; j < sqrt(i); j++) {
      if (i % j == 0) {
        fac[i].push_back(j);
        fac[i].push_back(i / j);
      }
    }
    if ((int)sqrt(i) * (int)sqrt(i) == i) fac[i].push_back(sqrt(i));
  }
}
int doDP(int k, int sblum) {
  if (k <= 0) return 1;
  int &ret = dp[k][sblum];
  if (ret != -1) return ret;
  ret = 0;
  for (int i = 0; i < fac[sblum].size(); i++) {
    ret = (ret + doDP(k - 1, fac[sblum][i])) % 1000000007;
  }
  return ret;
}
int main() {
  memset(dp, -1, sizeof(dp));
  scanf("%d%d", &n, &k);
  gen();
  int res = 0;
  for (int(i) = (1); (i) <= (n); ++(i))
    res = (res + doDP(k - 1, i)) % 1000000007;
  printf("%d\n", res);
  return 0;
}
