import java.util.*;
class Main{
    static Scanner sc=new Scanner(System.in);
    public static void main(String[] args){
        int N = sc.nextInt();
        int M = sc.nextInt();
        int a[] = new int[N];
        double sum = 0;
        for(int i=0;i<N;i++){
            a[i] = sc.nextInt();
            sum = sum+a[i];
        }
        Arrays.sort(a);
        for (int i = 0; i < a.length/2; i++) {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        }
        boolean anst = true;
        for(int i=0;i<M;i++){
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        }
        if(anst)
            System.out.println("Yes");
        else
            System.out.println("No");
    }
} import java.util.*; util.* java class Main{
    static Scanner sc=new Scanner(System.in);
    public static void main(String[] args){
        int N = sc.nextInt();
        int M = sc.nextInt();
        int a[] = new int[N];
        double sum = 0;
        for(int i=0;i<N;i++){
            a[i] = sc.nextInt();
            sum = sum+a[i];
        }
        Arrays.sort(a);
        for (int i = 0; i < a.length/2; i++) {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        }
        boolean anst = true;
        for(int i=0;i<M;i++){
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        }
        if(anst)
            System.out.println("Yes");
        else
            System.out.println("No");
    }
} Main static Scanner sc=new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args){
        int N = sc.nextInt();
        int M = sc.nextInt();
        int a[] = new int[N];
        double sum = 0;
        for(int i=0;i<N;i++){
            a[i] = sc.nextInt();
            sum = sum+a[i];
        }
        Arrays.sort(a);
        for (int i = 0; i < a.length/2; i++) {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        }
        boolean anst = true;
        for(int i=0;i<M;i++){
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        }
        if(anst)
            System.out.println("Yes");
        else
            System.out.println("No");
    } main {
        int N = sc.nextInt();
        int M = sc.nextInt();
        int a[] = new int[N];
        double sum = 0;
        for(int i=0;i<N;i++){
            a[i] = sc.nextInt();
            sum = sum+a[i];
        }
        Arrays.sort(a);
        for (int i = 0; i < a.length/2; i++) {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        }
        boolean anst = true;
        for(int i=0;i<M;i++){
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        }
        if(anst)
            System.out.println("Yes");
        else
            System.out.println("No");
    } int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int M = sc.nextInt(); M sc.nextInt() sc.nextInt sc int a[] = new int[N]; a new int[N] N double sum = 0; sum 0 for(int i=0;i<N;i++){
            a[i] = sc.nextInt();
            sum = sum+a[i];
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
            a[i] = sc.nextInt();
            sum = sum+a[i];
        } {
            a[i] = sc.nextInt();
            sum = sum+a[i];
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sum = sum+a[i] sum sum+a[i] sum a[i] a i Arrays.sort(a) Arrays.sort Arrays a for (int i = 0; i < a.length/2; i++) {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        } int i = 0; int i = 0; i 0 i < a.length/2 i a.length/2 a.length a a.length 2 i++ i++ i {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        } {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        } int temp = a[i]; temp a[i] a i a[i]= a[a.length - 1 - i] a[i] a i a[a.length - 1 - i] a a.length - 1 - i a.length - 1 - i a.length a a.length 1 i a[a.length - 1 - i]= temp a[a.length - 1 - i] a a.length - 1 - i a.length - 1 - i a.length a a.length 1 i temp boolean anst = true; anst true for(int i=0;i<M;i++){
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        } int i=0; int i=0; i 0 i<M i M i++ i++ i {
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        } {
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        } if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            } a[i]<(sum/(4*M)) a[i] a i (sum/(4*M)) sum (4*M) 4 M {
                anst = false;
                break;
            } anst = false anst false break; if(anst)
            System.out.println("Yes");
        else
            System.out.println("No"); anst System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;
class Main{
    static Scanner sc=new Scanner(System.in);
    public static void main(String[] args){
        int N = sc.nextInt();
        int M = sc.nextInt();
        int a[] = new int[N];
        double sum = 0;
        for(int i=0;i<N;i++){
            a[i] = sc.nextInt();
            sum = sum+a[i];
        }
        Arrays.sort(a);
        for (int i = 0; i < a.length/2; i++) {
            int temp = a[i];
            a[i]= a[a.length - 1 - i];
            a[a.length - 1 - i]= temp;
        }
        boolean anst = true;
        for(int i=0;i<M;i++){
            if(a[i]<(sum/(4*M))){
                anst = false;
                break;
            }
        }
        if(anst)
            System.out.println("Yes");
        else
            System.out.println("No");
    }
}