import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } 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 double sum = 0; sum 0 int cnt = 0; cnt 0 Integer[] items = new Integer[N]; items new Integer[N] N for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        } {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        } int itemVote = sc.nextInt(); itemVote sc.nextInt() sc.nextInt sc sum += itemVote sum itemVote items[i] = itemVote items[i] items i itemVote Arrays.sort(items, Collections.reverseOrder()) Arrays.sort Arrays items Collections.reverseOrder() Collections.reverseOrder Collections double baseNum = sum / ((double) 4 * (double) M); baseNum sum / ((double) 4 * (double) M) sum ((double) 4 * (double) M) (double) 4 (double) M for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        } int l = 0; int l = 0; l 0 l < M l M l++ l++ l {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        } {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        } double val = (double) items[l]; val (double) items[l] items l if (val < baseNum) {
                continue;
            } val < baseNum val baseNum {
                continue;
            } continue; cnt++ cnt if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } cnt >= M cnt M {
            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 sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int M = sc.nextInt();
        double sum = 0;
        int cnt = 0;
        Integer[] items = new Integer[N];
        for (int i = 0; i < N; i++) {
            int itemVote = sc.nextInt();
            sum += itemVote;
            items[i] = itemVote;
        }
        Arrays.sort(items, Collections.reverseOrder());
        double baseNum = sum / ((double) 4 * (double) M);
        for (int l = 0; l < M; l++) {
            double val = (double) items[l];
            if (val < baseNum) {
                continue;
            }
            cnt++;
        }
        if (cnt >= M) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
