#include <bits/stdc++.h>
using namespace std;
int Set(int N, int pos) { return N = N | (1 << pos); }
int Reset(int N, int pos) { return N = N & ~(1 << pos); }
bool Check(int N, int pos) { return (bool)(N & (1 << pos)); }
long long BM(long long a, long long b, long long m) {
  if (b == 0) return 1;
  long long x = BM(a, b / 2, m);
  x = ((x % m) * (x % m)) % m;
  if (b % 2) x = ((x % m) * (a % m)) % m;
  return x;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n, k;
  cin >> n >> k;
  if (n < k * 1ll * (k + 1) / 2) {
    cout << "NO" << endl;
    return 0;
  }
  int nn = n - k * 1LL * (k + 1) / 2;
  vector<int> a(k);
  for (int i = 0; i < k; i++) {
    a[i] = i + 1 + (nn / k) + +(i >= k - nn % k);
  }
  if (nn != k - 1) {
    cout << "YES" << endl;
    for (int i = 0; i < k; ++i) cout << a[i] << " ";
    cout << endl;
  } else {
    if (k > 3) {
      --a[1];
      ++a[k - 1];
    }
    if (k == 2 || k == 3) {
      cout << "NO" << endl;
    } else {
      cout << "YES" << endl;
      for (int i = 0; i < k; ++i) cout << a[i] << " ";
      cout << endl;
    }
  }
  return 0;
}
