#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  cin >> n >> k;
  vector<vector<int> > mat(n + 1, vector<int>(k + 1, 0));
  for (int i = 1; i <= n; ++i) mat[i][1] = 1;
  for (int c = 1; c < k; ++c)
    for (int r = 1; r <= n; ++r)
      for (int add = 1; r * add <= n; ++add) {
        mat[r * add][c + 1] += mat[r][c];
        mat[r * add][c + 1] %= 1000000007;
      }
  long long res = 0;
  for (int i = 1; i <= n; ++i) res = (res + mat[i][k]) % 1000000007;
  cout << res;
  return 0;
}
