#include <bits/stdc++.h>
using namespace std;
long long ans[100005];
int main() {
  long long n, k;
  cin >> n >> k;
  if ((1 + k) * k / 2 > n)
    cout << "NO";
  else {
    long long rest = n - (1 + k) * k / 2;
    for (int i = 1; i <= k; i++) ans[i] = i;
    long long add = rest / k;
    rest -= add * k;
    for (int i = 1; i <= k; i++) ans[i] += add;
    for (int i = k; i >= 1; i--) {
      if (rest-- == 0) break;
      ans[i]++;
    }
    if (ans[1] == 1 && ans[2] == 3) ans[2]--, ans[k]++;
    int ok = 1;
    for (int i = 1; i < k; i++)
      if (ans[i] * 2 < ans[i + 1]) {
        ok = 0;
        break;
      }
    if (!ok)
      cout << "NO";
    else {
      cout << "YES\n";
      for (int i = 1; i <= k; i++) cout << ans[i] << ' ';
    }
  }
  return 0;
}
