#include <bits/stdc++.h>
using namespace std;
long long n, m, sum, a[100010];
int main() {
  cin >> n >> m;
  for (int i = 1; i <= m; i++) a[i] = i, sum += i;
  if (sum > n) {
    cout << "NO" << endl;
    return 0;
  }
  int d = (n - sum) / m, l = n - sum - d * m;
  while (l != 0) {
    for (int i = m; l && i >= 1; i--)
      if (a[i] + d + 1 <= 2 * (a[i - 1] + d)) a[i]++, l--;
    if (l && a[m] + d + 1 > 2 * (a[m - 1] + d)) {
      cout << "NO" << endl;
      return 0;
    }
  }
  cout << "YES" << endl;
  for (int i = 1; i <= m; i++) cout << a[i] + d << " ";
  return 0;
}
