Problem: A positive integer x is called a power of two if it can be represented as x = 2^y, where y is a non-negative integer. So, the powers of two are 1, 2, 4, 8, 16, ....

You are given two positive integers n and k. Your task is to represent n as the sum of exactly k powers of two.

Input

The only line of the input contains two integers n and k (1 ≤ n ≤ 10^9, 1 ≤ k ≤ 2 ⋅ 10^5).

Output

If it is impossible to represent n as the sum of k powers of two, print NO.

Otherwise, print YES, and then print k positive integers b_1, b_2, ..., b_k such that each of b_i is a power of two, and ∑ _{i = 1}^{k} b_i = n. If there are multiple answers, you may print any of them.

Examples

Input


9 4


Output


YES
1 2 2 4 


Input


8 1


Output


YES
8 


Input


5 1


Output


NO


Input


3 7


Output


NO

Solution (in JAVA):

Solution:
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.Collection;
import java.util.InputMismatchException;
import java.io.IOException;
import java.util.ArrayList;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastReader in = new FastReader(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskC solver = new TaskC();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskC {
        public void solve(int testNumber, FastReader in, PrintWriter out) {
            int n = in.nextInt();
            int K = in.nextInt();
            int[] cnt = new int[32];
            for (int i = 0; i < 32; ++i) if ((n & (1 << i)) != 0) ++cnt[i];
            if (Integer.bitCount(n) > K) {
                out.println("NO");
                return;
            }
            int sum = 0;
            for (int i = 0; i < 32; ++i) sum += cnt[i];
            int lastNonZero = 31;
            while (sum < K && lastNonZero > 0) {
                for (int i = lastNonZero; i >= 0; --i) {
                    if (cnt[i] != 0) {
                        lastNonZero = i;
                        break;
                    }
                }
                if (lastNonZero == 0) {
                    out.println("NO");
                    return;
                }
                cnt[lastNonZero - 1] += 2;
                cnt[lastNonZero] -= 1;
                ++sum;
            }
            out.println("YES");
            ArrayList<Integer> ans = new ArrayList<>();
            for (int i = 0; i < 32; ++i) {
                for (int j = 0; j < cnt[i]; ++j) {
                    ans.add((1 << i));
                }
            }
            ArrayUtils.printArray(out, ans);
        }

    }

    static class FastReader {
        private InputStream stream;
        private byte[] buf = new byte[8192];
        private int curChar;
        private int pnumChars;

        public FastReader(InputStream stream) {
            this.stream = stream;
        }

        private int pread() {
            if (pnumChars == -1) {
                throw new InputMismatchException();
            }
            if (curChar >= pnumChars) {
                curChar = 0;
                try {
                    pnumChars = stream.read(buf);
                } catch (IOException e) {
                    throw new InputMismatchException();
                }
                if (pnumChars <= 0) {
                    return -1;
                }
            }
            return buf[curChar++];
        }

        public int nextInt() {
            int c = pread();
            while (isSpaceChar(c))
                c = pread();
            int sgn = 1;
            if (c == '-') {
                sgn = -1;
                c = pread();
            }
            int res = 0;
            do {
                if (c == ',') {
                    c = pread();
                }
                if (c < '0' || c > '9') {
                    throw new InputMismatchException();
                }
                res *= 10;
                res += c - '0';
                c = pread();
            } while (!isSpaceChar(c));
            return res * sgn;
        }

        private boolean isSpaceChar(int c) {
            return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
        }

    }

    static class ArrayUtils {
        public static <T> void printArray(PrintWriter out, Collection<T> array) {
            if (array.size() == 0) return;
            int size = array.size();
            Iterator<T> iterator = array.iterator();
            int ct = 0;
            for (; ct < size && iterator.hasNext(); ct++) {
                if (ct != 0) out.print(" ");
                out.print(iterator.next());
            }
            out.println();
        }

    }
}