import java.util.Scanner;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    }
} Main public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    } main {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    } Scanner stdIn= new Scanner(System.in); stdIn new Scanner(System.in) int N = stdIn.nextInt(); N stdIn.nextInt() stdIn.nextInt stdIn int M = stdIn.nextInt(); M stdIn.nextInt() stdIn.nextInt stdIn int [] a=new int[N]; a new int[N] N double sum=0; sum 0 for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        } int i=0; int i=0; i 0 i<N i N i++ i++ i {
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        } {
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        } a[i]=stdIn.nextInt() a[i] a i stdIn.nextInt() stdIn.nextInt stdIn sum=sum+a[i] sum sum+a[i] sum a[i] a i int [] b=new int[M]; b new int[M] M int max=0; max 0 for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        } int i=0; int i=0; i 0 i<M i M i++ i++ i {
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        } {
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        } for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           } int t=0; int t=0; t 0 t<N t N t++ t++ t {
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           } {
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           } if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               } a[t]>b[i] a[t] a t b[i] b i {
                   b[i]=a[t];
                   max=t;
               } b[i]=a[t] b[i] b i a[t] a t max=t max t a[max]=0 a[max] a max 0 boolean j=true; j true for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        } int t=0; int t=0; t 0 t<M t M t++ t++ t {
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        } {
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        } if(b[t]<sum/(4*M)){
                j=false;
                break;
            } b[t]<sum/(4*M) b[t] b t sum/(4*M) sum (4*M) 4 M {
                j=false;
                break;
            } j=false j false break; if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        } j {
             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) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int N = stdIn.nextInt();
        int M = stdIn.nextInt();
        int [] a=new int[N];
        double sum=0;
        for(int i=0;i<N;i++){
            a[i]=stdIn.nextInt();
            sum=sum+a[i];
        }
        
        int [] b=new int[M];
        int max=0;
        for(int i=0;i<M;i++){
            for(int t=0;t<N;t++){
               if(a[t]>b[i]){
                   b[i]=a[t];
                   max=t;
               }
           }
           a[max]=0;
        }

        
        boolean j=true;
        for(int t=0;t<M;t++){
            if(b[t]<sum/(4*M)){
                j=false;
                break;
            }
        }
        if(j){
             System.out.println("Yes");
        }else{
             System.out.println("No");
        }
       
    }
}