#include <bits/stdc++.h>
using namespace std;
long long N, K;
int main() {
  cin >> N >> K;
  if (K * (K + 1) / 2 > N) {
    cout << "NO" << endl;
    return (0);
  }
  long long rem = N - (K * (K + 1)) / 2;
  if (rem == K - 1) {
    if (K == 2 || K == 3)
      cout << "NO" << endl;
    else if (K == 1) {
      cout << "YES" << endl;
      cout << N << endl;
    } else {
      cout << "YES" << endl;
      for (int i = 0; i < K; i++) {
        if (i == K - 1)
          cout << ((i + 1) + (rem / K) + 2) << " ";
        else if (i <= 1)
          cout << ((i + 1) + (rem / K)) << " ";
        else
          cout << ((i + 1) + (rem / K) + 1) << " ";
      }
    }
    return (0);
  }
  cout << "YES" << endl;
  for (int i = 0; i < K; i++) {
    if ((K - i) <= (rem % K))
      cout << ((i + 1) + (rem / K) + 1) << " ";
    else
      cout << ((i + 1) + (rem / K)) << " ";
  }
  cout << endl;
  return (0);
}
