#include <bits/stdc++.h>
const int maxn = 2147483647;
const int minn = -2147483647;
const int inf = 0x7fffffff;
using namespace std;
int num[128];
int main() {
  long long n, k;
  cin >> n >> k;
  for (int i = 0; i < 64; i++) {
    num[64 + i] = ((n >> i) & 1);
    k -= ((n >> i) & 1);
  }
  if (k < 0) {
    cout << "No" << endl;
    return 0;
  }
  for (int i = 127; i >= 1; i--) {
    if (num[i] > k) {
      break;
    }
    k -= num[i];
    num[i - 1] += num[i] * 2;
    num[i] = 0;
  }
  int j = 0;
  while (!num[j]) j++;
  num[j]--;
  cout << "Yes" << endl;
  for (int i = 127; i >= j; i--) {
    while (num[i]--) {
      cout << i - 64 << " ";
    }
  }
  for (int i = 1; i <= k; i++) {
    cout << j - i - 64 << " ";
  }
  cout << j - k - 64 << endl;
  return 0;
}
