#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, m, ans[100005], k, i, cnt;
  cin >> n >> m;
  if (m * (m + 1) / 2 > n || (n == 4 && m == 2) || (n == 8 && m == 3))
    cout << "NO" << endl;
  else {
    k = (n - m * (m + 1) / 2) / m;
    cnt = 0;
    for (i = 0; i < m; i++) {
      ans[i] = i + k + 1;
      cnt = cnt + ans[i];
    }
    ans[m - 1] += (n - cnt);
    if (m > 1 && (ans[m - 1] > ans[m - 2] * 2)) {
      ans[m - 1]--;
      ans[m - 2]++;
    }
    cout << "YES" << endl;
    for (i = 0; i < m; i++) cout << ans[i] << " ";
  }
}
