#include <bits/stdc++.h>
using namespace std;
long long n, k, tot, rim, rim2, add, last_ele;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  ;
  cin >> n >> k;
  tot = k * (k + 1) / 2;
  if (n < tot)
    cout << "NO" << endl;
  else {
    rim = n - tot;
    add = rim / k;
    ;
    rim2 = rim % k;
    last_ele = k + add;
    if (rim2 != 0 && rim2 == last_ele - 1 && last_ele - 1 <= 2)
      cout << "NO" << endl;
    else if (rim2 < last_ele - 1) {
      cout << "YES" << endl;
      for (int i = 1; i <= k - 1; i++) cout << i + add << " ";
      cout << last_ele + rim2 << endl;
    } else {
      cout << "YES" << endl;
      for (int i = 1; i <= k - 2; i++) cout << i + add << " ";
      cout << last_ele << " ";
      if (k > 1) cout << last_ele + rim2 - 1 << endl;
    }
  }
  return 0;
}
