import java.util.*;
import java.lang.Math;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    }
} import java.util.*; util.* java import java.lang.Math; Math java.lang public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc int sum = 0; sum 0 List<Integer> list = new ArrayList<>(); list new ArrayList<>() for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            list.add(sc.nextInt());
            sum += list.get(i);
        } {
            list.add(sc.nextInt());
            sum += list.get(i);
        } list.add(sc.nextInt()) list.add list sc.nextInt() sc.nextInt sc sum += list.get(i) sum list.get(i) list.get list i double vote = (double)sum/(4.0*(double)m); vote (double)sum/(4.0*(double)m) (double)sum (4.0*(double)m) 4.0 (double)m Collections.sort(list) Collections.sort Collections list Collections.reverse(list) Collections.reverse Collections list if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes"); list.get(m-1) < Math.ceil(vote) list.get(m-1) list.get list m-1 m 1 Math.ceil(vote) Math.ceil Math vote System.out.println("No") System.out.println System.out System System.out "No" System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    }
} Main
import java.util.*;
import java.lang.Math;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int sum = 0;

        List<Integer> list = new ArrayList<>();

        for(int i = 0; i < n; i++){
            list.add(sc.nextInt());
            sum += list.get(i);
        }
        double vote = (double)sum/(4.0*(double)m);
        Collections.sort(list);
        Collections.reverse(list);
        // for(int i: list){
        //     System.out.print(i+" ");
        // }
        if(list.get(m-1) < Math.ceil(vote)) System.out.println("No");
        else System.out.println("Yes");
    }
}