
import java.lang.Math;
import java.util.*;


public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} import java.lang.Math; Math java.lang import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String str = scanner.nextLine(); str scanner.nextLine() scanner.nextLine scanner String str2 = scanner.nextLine(); str2 scanner.nextLine() scanner.nextLine scanner String[] params = str.split(" ", 0); params str.split(" ", 0) str.split str " " 0 String[] params2 = str2.split(" ", 0); params2 str2.split(" ", 0) str2.split str2 " " 0 int[] intArray = new int[params.length]; intArray new int[params.length] params.length params params.length int[] intArray2 = new int[params2.length]; intArray2 new int[params2.length] params2.length params2 params2.length for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        } int i = 0; int i = 0; i 0 i < params.length i params.length params params.length i++ i++ i {
            intArray[i] = Integer.parseInt(params[i]);
        } {
            intArray[i] = Integer.parseInt(params[i]);
        } intArray[i] = Integer.parseInt(params[i]) intArray[i] intArray i Integer.parseInt(params[i]) Integer.parseInt Integer params[i] params i int total_vote = 0; total_vote 0 for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        } int j = 0; int j = 0; j 0 j < params2.length j params2.length params2 params2.length j++ j++ j {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        } {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        } intArray2[j] = Integer.parseInt(params2[j]) intArray2[j] intArray2 j Integer.parseInt(params2[j]) Integer.parseInt Integer params2[j] params2 j total_vote += Integer.parseInt(params2[j]) total_vote Integer.parseInt(params2[j]) Integer.parseInt Integer params2[j] params2 j double test = 1 / (4 * intArray[1]); test 1 / (4 * intArray[1]) 1 (4 * intArray[1]) 4 intArray[1] intArray 1 int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1]))); minimum_vote (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1]))) Math.ceil Math (total_vote * (double)1 / (4 * intArray[1])) total_vote * (double)1 total_vote (double)1 (4 * intArray[1]) 4 intArray[1] intArray 1 int chose_product = 0; chose_product 0 for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        } int k = 0; int k = 0; k 0 k < params2.length k params2.length params2 params2.length k++ k++ k {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        } {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        } if(intArray2[k] >= minimum_vote) {
                chose_product++;
            } intArray2[k] >= minimum_vote intArray2[k] intArray2 k minimum_vote {
                chose_product++;
            } chose_product++ chose_product if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } chose_product >= intArray[1] chose_product intArray[1] intArray 1 {
            System.out.println("Yes");
        } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
            System.out.println("No");
        } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main

import java.lang.Math;
import java.util.*;


public class Main {
    public static void main(String[] args) {
        //コード
        Scanner scanner = new Scanner(System.in);

        String str = scanner.nextLine();
        String str2 = scanner.nextLine();
        String[] params = str.split(" ", 0);
        String[] params2 = str2.split(" ", 0);

        int[] intArray = new int[params.length];
        int[] intArray2 = new int[params2.length];

        for (int i = 0; i < params.length; i++) {
            intArray[i] = Integer.parseInt(params[i]);
        }

        int total_vote = 0;
        for (int j = 0; j < params2.length; j++) {
            intArray2[j] = Integer.parseInt(params2[j]);
            total_vote += Integer.parseInt(params2[j]);
        }

        double test = 1 / (4 * intArray[1]);
        //int minimum_vote = (int)(total_vote * (double)1 / (4 * intArray[1]));
        int minimum_vote = (int)Math.ceil((total_vote * (double)1 / (4 * intArray[1])));
        int chose_product = 0;

        for (int k = 0; k < params2.length; k++) {
            if(intArray2[k] >= minimum_vote) {
                chose_product++;
            }
        }
        //System.out.println(total_vote);
        //System.out.println(minimum_vote);


        if (chose_product >= intArray[1]) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
