function Main(input) {
    // 1行目がinput[0], 2行目がinput[1], …に入る
    var nums = input.split('\n');
    var N = nums[0].split(' ')[0];
    var M = nums[0].split(' ')[1];
    var A = nums[1].split(' ');
    var count = 0;
    A.sort(
        function (a, b) {
            return b - a;
        }
    );
    for (var i = 0; i < A.length; i++) {
        count = count + Number(A[i]);
    }
    for (var i = 0; i < M-1; i++) {
        if (Number(A[i]) < count / 4 / M) {
            console.log("No");
        } else {
            console.log("Yes");
        }
    };  
Main(require("fs").readFileSync("/dev/stdin", "utf8"));