#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9 + 7;
template <class T>
void dbs(string str, T t) {
  cout << str << " : " << t << endl;
}
template <class T, class... second>
void dbs(string str, T t, second... s) {
  int idx = str.find(',');
  cout << str.substr(0, idx) << " : " << t << ",";
  dbs(str.substr(idx + 1), s...);
}
template <class second, class T>
ostream& operator<<(ostream& os, const pair<second, T>& p) {
  return os << "(" << p.first << ", " << p.second << ")";
}
template <class T>
ostream& operator<<(ostream& os, const vector<T>& p) {
  os << "[ ";
  for (auto& it : p) os << it << " ";
  return os << "]";
}
template <class T>
ostream& operator<<(ostream& os, const set<T>& p) {
  os << "[ ";
  for (auto& it : p) os << it << " ";
  return os << "]";
}
template <class second, class T>
ostream& operator<<(ostream& os, const map<second, T>& p) {
  os << "[ ";
  for (auto& it : p) os << it << " ";
  return os << "]";
}
template <class T>
void prc(T a, T b) {
  cout << "[";
  for (T i = a; i != b; ++i) {
    if (i != a) cout << ", ";
    cout << *i;
  }
  cout << "]";
  cout << endl;
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  long long n;
  cin >> n;
  int k;
  cin >> k;
  int req = __builtin_popcountll(n);
  if (k < req) {
    cout << "No\n";
    return 0;
  }
  vector<int> a;
  for (int y = (-20); y <= (60); ++y) {
    long long x = (1LL << abs(y));
    if (y >= 0) {
      long long req = n / x + __builtin_popcountll(n % x);
      if (req <= k) {
        for (int i = (1); i <= (n / x); ++i) a.push_back(y);
        n %= x;
        for (int i = (60); i >= (0); --i)
          if (n >= (1LL << i)) {
            n -= (1LL << i);
            a.push_back(i);
          }
        break;
      }
    } else {
      if (k >= n and k >= n * x) {
        a = vector<int>(n * x, y);
        break;
      }
    }
  }
  assert(int(a.size()) <= k);
  while (int(a.size()) < k) {
    int x = a.back();
    a.pop_back();
    a.push_back(x - 1);
    a.push_back(x - 1);
  }
  cout << "Yes\n";
  for (int x : a) cout << x << " ";
  return 0;
}
