import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            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) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            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();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            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 int[] Ai = new int[n]; Ai new int[n] n double totalVotes = 0; totalVotes 0 for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        } {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        } Ai[i] = sc.nextInt() Ai[i] Ai i sc.nextInt() sc.nextInt sc totalVotes += Ai[i] totalVotes Ai[i] Ai i int changeValue; changeValue int max; max for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        } {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        } max = Ai[n - 1] max Ai[n - 1] Ai n - 1 n 1 for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            } int j = n - 2; int j = n - 2; j n - 2 n 2 j >= i j i j-- j-- j {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            } {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            } if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                } max > Ai[j] max Ai[j] Ai j {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } changeValue = Ai[j] changeValue Ai[j] Ai j Ai[j] = Ai[j + 1] Ai[j] Ai j Ai[j + 1] Ai j + 1 j 1 Ai[j + 1] = changeValue Ai[j + 1] Ai j + 1 j 1 changeValue {
                    max = Ai[j];
                } max = Ai[j] max Ai[j] Ai j totalVotes = totalVotes / 4 / m totalVotes totalVotes / 4 / m totalVotes / 4 / m totalVotes 4 m boolean flag = true; flag true for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        } int i = 0; int i = 0; i 0 i < m i m i++ i++ i {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        } {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        } if ((double)Ai[i] < totalVotes) {
                flag = false;
            } (double)Ai[i] < totalVotes (double)Ai[i] Ai i totalVotes {
                flag = false;
            } flag = false flag false if (flag == true) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } flag == true flag true {
            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();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            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();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int[] Ai = new int[n];
        double totalVotes = 0;
        for (int i = 0; i < n; i++) {
            Ai[i] = sc.nextInt();
            totalVotes += Ai[i];
        }
        int changeValue;
        int max;
        for (int i = 0; i < n; i++) {
            max = Ai[n - 1];
            for (int j = n - 2; j >= i; j--) {
                if (max > Ai[j]) {
                    changeValue = Ai[j];
                    Ai[j] = Ai[j + 1];
                    Ai[j + 1] = changeValue;
                } else {
                    max = Ai[j];
                }
            }
        }

        totalVotes = totalVotes / 4 / m;
        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if ((double)Ai[i] < totalVotes) {
                flag = false;
            }
        }

        if (flag == true) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}