#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  long long n, k;
  cin >> n >> k;
  if (k * (k + 1) / 2 > n) {
    cout << "NO";
    return 0;
  }
  if (k == 1) {
    cout << "YES\n";
    cout << n;
    return 0;
  }
  if (k == 2) {
    if (n % 2 == 1) {
      cout << "YES\n";
      cout << n / 2 << ' ' << n / 2 + 1;
      return 0;
    } else {
      if (n >= 6) {
        cout << "YES\n";
        cout << n / 2 - 1 << ' ' << n / 2 + 1;
        return 0;
      } else {
        cout << "NO";
        return 0;
      }
    }
  }
  if (k == 3 && n == 8) {
    cout << "NO";
    return 0;
  }
  if (k * (k + 1) / 2 > n) {
    cout << "NO";
    return 0;
  }
  long long sdvig = (n - k * (k + 1) / 2) / k;
  vector<long long> V(k);
  long long sum = 0;
  for (int i = 0; i < k; ++i) {
    V[i] = sdvig + i + 1;
    sum += V[i];
  }
  V.back() += (n - sum);
  if (V.size() > 1 && V[V.size() - 2] * 2 < V[V.size() - 1]) {
    --V[k - 1];
    ++V[k - 2];
  }
  cout << "YES\n";
  for (int i = 0; i < k; ++i) cout << V[i] << ' ';
  return 0;
}
