#include <bits/stdc++.h>
using namespace std;
#pragma warning(disable : 4996)
const double PI = acos(-1);
const long long N = 500005, md = 1e9 + 7, inf = 1e18, iinf = 1e9 + 5, MX = 3e5;
long long g, w, h, x, y, z, i, j, k, q, n, cnt, res, sum, r[N], a[N], b[N];
char c[N];
string s, t;
pair<int, int> p[N];
vector<int> e[N];
int main() {
  ios::sync_with_stdio(false), cin.tie(0);
  cin >> n >> k;
  if (k == 2 && (n < 3 || n == 4))
    cout << "NO";
  else if (k == 3 && (n < 6 || n == 8))
    cout << "NO";
  else {
    if (n < k * (k + 1) / 2) cout << "NO", exit(0);
    cout << "YES\n";
    x = (n - k * (k + 1) / 2) / k;
    for (long long i = 0; i < k; i++) a[i] = i + 1 + x, sum += a[i];
    while (sum < n) {
      for (long long i = k - 1; i >= 0; i--) {
        if (a[i] + 1 > a[i - 1] * 2) i = k - 1;
        if (sum == n) break;
        if (sum < n) sum++, a[i]++;
      }
    }
    for (long long i = 0; i < k; i++) cout << a[i] << ' ';
  }
}
