#include <bits/stdc++.h>
using namespace std;
ifstream fin("AAtest.in.txt");
long long n, k, a[100005], su, vah;
int main() {
  ios::sync_with_stdio(0);
  cin.tie();
  cout.tie();
  cerr.tie();
  cin >> k >> n;
  for (int i = 1; i <= n; i++) a[i] = i, su += i;
  if (su > k) {
    cout << "NO";
    return 0;
  }
  vah = k - su;
  vah /= n;
  for (int i = 1; i <= n; i++) a[i] += vah;
  k -= su + vah * n;
  for (int i = n; i >= 2; i--) {
    vah = min(k, a[i - 1] * 2 - a[i]);
    k -= vah;
    a[i] += vah;
    if (k == 0) break;
  }
  if (k != 0) {
    cout << "NO";
    return 0;
  }
  cout << "YES\n";
  for (int i = 1; i <= n; i++) cout << a[i] << " ";
}
