#include <bits/stdc++.h>
using namespace std;
long long int dp[2004][2004], n, k;
long long int normal(long long int a) {
  long long int temp = a / 1000000007;
  return a - temp * 1000000007;
}
long long int rec(long long int pos, long long int val) {
  if (dp[pos][val] != -1) return dp[pos][val];
  if (pos == k) {
    return dp[pos][val] = 1;
  }
  long long int ret = 0;
  long long int temp = val;
  while (temp <= n) {
    ret += normal(rec(pos + 1, temp));
    temp += val;
  }
  return dp[pos][val] = ret;
}
int main() {
  memset(dp, -1, sizeof dp);
  cin >> n >> k;
  long long int ans = 0;
  for (int i = 1; i <= n; i++) {
    ans = normal(ans + rec(1, i));
  }
  cout << ans << endl;
  return 0;
}
