#include <bits/stdc++.h>
using namespace std;
const long long maxn = 1e6 + 20;
long long t[maxn * 2];
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long n, k;
  cin >> n >> k;
  for (long long i = 0; i < 64; i++)
    if ((((n) >> (i)) & 1)) t[i + maxn]++, k--;
  if (k < 0) return cout << "No" << endl, 0;
  cout << "Yes" << endl;
  for (long long i = 2 * maxn - 1; i >= 1; i--) {
    if (k >= t[i]) {
      k -= t[i];
      t[i - 1] += 2 * t[i];
      t[i] = 0;
    } else
      break;
  }
  for (long long i = 1; i < 2 * maxn; i++)
    if (k && t[i]) {
      k--;
      t[i]--;
      t[i - 1] += 2;
      i -= 2;
    }
  for (long long i = maxn * 2 - 1; i >= 0; i--)
    for (long long j = 0; j < t[i]; j++) cout << i - maxn << " ";
  cout << endl;
}
