#include <bits/stdc++.h>
using namespace std;
void speed() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
void solve() {
  long long n, k;
  cin >> n >> k;
  vector<long long> a(k);
  long long excess = n - ((k * (k + 1)) / 2);
  if (excess < 0) {
    cout << "NO"
         << "\n";
  } else {
    long long add = excess / k;
    excess = excess % k;
    if (k == 1) {
      cout << "YES"
           << "\n";
      cout << n << "\n";
      return;
    }
    if (k <= 3 && excess == k - 1 && add == 0) {
      cout << "NO"
           << "\n";
      return;
    }
    if (k == 2) {
      cout << "YES"
           << "\n";
      if (n % 2 == 0) {
        cout << n / 2 - 1 << " " << n / 2 + 1 << "\n";
      } else {
        cout << n / 2 << " " << n / 2 + 1 << "\n";
      }
      return;
    }
    cout << "YES"
         << "\n";
    for (int i = 0; i < int(k); ++i) {
      a[i] = add + i + 1;
    }
    if (excess == k - 1) {
      a[k - 1]++;
      excess--;
    }
    int j = k - 1;
    while (excess--) {
      a[j]++;
      j--;
    }
    long long sum = 0;
    for (int i = 0; i < int(k); ++i) {
      sum += a[i];
      cout << a[i] << " ";
    }
    cout << "\n";
  }
}
int main() {
  speed();
  int tc = 1;
  while (tc--) {
    solve();
  }
}
