import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    }

} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer> list = new ArrayList<>(); list new ArrayList<>() int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int m = Integer.parseInt(sc.next()); m Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            list.add(Integer.parseInt(sc.next()));
        } {
            list.add(Integer.parseInt(sc.next()));
        } list.add(Integer.parseInt(sc.next())) list.add list Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc Collections.sort(list) Collections.sort Collections list Collections.reverse(list) Collections.reverse Collections list int allVote = 0; allVote 0 for (Integer i : list) {
            allVote += i;
        } Integer i list {
            allVote += i;
        } {
            allVote += i;
        } allVote += i allVote i double limit = allVote / (4.0 * m); limit allVote / (4.0 * m) allVote (4.0 * m) 4.0 m String answer = "Yes"; answer "Yes" for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        } int i = 0; int i = 0; i 0 i < m i m i++ i++ i {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        } {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        } int vote = list.get(i); vote list.get(i) list.get list i if (vote < limit) {
                answer = "No";
                break;
            } vote < limit vote limit {
                answer = "No";
                break;
            } answer = "No" answer "No" break; System.out.println(answer) System.out.println System.out System System.out answer sc.close() sc.close sc String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    }

} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    }

} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> list = new ArrayList<>();
        int n = Integer.parseInt(sc.next());
        int m = Integer.parseInt(sc.next());
        for (int i = 0; i < n; i++) {
            list.add(Integer.parseInt(sc.next()));
        }
        Collections.sort(list);
        Collections.reverse(list);
        int allVote = 0;
        for (Integer i : list) {
            allVote += i;
        }

        double limit = allVote / (4.0 * m);
        String answer = "Yes";
        for (int i = 0; i < m; i++) {
            int vote = list.get(i);
            if (vote < limit) {
                answer = "No";
                break;
            }
        }
        System.out.println(answer);
        sc.close();
    }

}
