#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  long long n, k;
  cin >> n >> k;
  map<int, int> ans;
  int d = 0;
  int sum = 0;
  while (n) {
    if (n % 2) {
      ans[-d] = 1;
      sum++;
    }
    d++;
    n /= 2;
  }
  if (sum > k) {
    cout << "No";
    return 0;
  }
  while (sum < k) {
    int v = ans.begin()->first;
    int count = ans.begin()->second;
    if (sum + count <= k) {
      ans[v + 1] += 2 * count;
      sum += count;
      ans.erase(ans.begin());
    } else
      break;
  }
  while (sum < k) {
    int v = ans.rbegin()->first;
    int count = ans.rbegin()->second;
    if (count == 1) {
      ans.erase(--ans.end());
      ans[v + 1] = 2;
      sum++;
    } else {
      ans[v]--;
      ans[v + 1] = 2;
      sum++;
    }
  }
  cout << "Yes\n";
  for (auto it : ans) {
    for (int j = 0; j < it.second; j++) cout << -it.first << " ";
  }
  return 0;
}
