#include <bits/stdc++.h>
using namespace std;
long long po(long long x, long long n) {
  long long result = 1;
  while (n > 0) {
    if (n % 2 == 1) result = (result * x) % 998244353;
    x = (x * x) % 998244353;
    n = n / 2;
  }
  return result;
}
long long mI(long long z) { return po(z, 998244353 - 2) % 998244353; }
long long ncr(long long n, long long r) {
  if (n < r) return 0;
  if (r == 0) return 1;
  long long fac[n + 1];
  fac[0] = 1;
  for (long long i = 1; i < n + 1; i++) fac[i] = fac[i - 1] * i % 998244353;
  long long z = ((fac[r] % 998244353) * (fac[n - r] % 998244353)) % 998244353;
  return fac[n] * mI(z) % 998244353;
}
signed main() {
  ios_base::sync_with_stdio(false);
  long long n, x;
  cin >> n >> x;
  long long ans = 0;
  for (long long i = 1; i < n + 1; i++) {
    long long q = n / i;
    ans = (ans + ncr(q - 1, x - 1)) % 998244353;
  }
  cout << ans;
}
