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

class Main {
    public static void main(final String[] args) {
        
        Scanner scanner = new Scanner(System.in);
        String[] arr = new String[2];
        for(int i = 0;i < arr.length;i++) {
            arr[i] = scanner.nextLine();
        }

        String[] strmaster = arr[0].split(" ");

        Integer[] nm = new Integer[2]; 
        for (int i = 0; i < strmaster.length; i++) {
            nm[i] = Integer.parseInt(strmaster[i]);
        }

        int n = nm[0];
        int m = nm[1];

        strmaster = arr[1].split(" ");
        List<Integer> listA = new ArrayList<>(); 
        for (int i = 0; i < strmaster.length; i++) {
            listA.add(Integer.parseInt(strmaster[i]));
        }
        
        Collections.sort(listA, Collections.reverseOrder());

        int totalVotes = 0;
        for (Integer integer : listA) {
            totalVotes = totalVotes + integer;
        }

        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        }
        
        if (flag) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        scanner.close();
    }
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(final String[] args) {
        
        Scanner scanner = new Scanner(System.in);
        String[] arr = new String[2];
        for(int i = 0;i < arr.length;i++) {
            arr[i] = scanner.nextLine();
        }

        String[] strmaster = arr[0].split(" ");

        Integer[] nm = new Integer[2]; 
        for (int i = 0; i < strmaster.length; i++) {
            nm[i] = Integer.parseInt(strmaster[i]);
        }

        int n = nm[0];
        int m = nm[1];

        strmaster = arr[1].split(" ");
        List<Integer> listA = new ArrayList<>(); 
        for (int i = 0; i < strmaster.length; i++) {
            listA.add(Integer.parseInt(strmaster[i]));
        }
        
        Collections.sort(listA, Collections.reverseOrder());

        int totalVotes = 0;
        for (Integer integer : listA) {
            totalVotes = totalVotes + integer;
        }

        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        }
        
        if (flag) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        scanner.close();
    }
} Main public static void main(final String[] args) {
        
        Scanner scanner = new Scanner(System.in);
        String[] arr = new String[2];
        for(int i = 0;i < arr.length;i++) {
            arr[i] = scanner.nextLine();
        }

        String[] strmaster = arr[0].split(" ");

        Integer[] nm = new Integer[2]; 
        for (int i = 0; i < strmaster.length; i++) {
            nm[i] = Integer.parseInt(strmaster[i]);
        }

        int n = nm[0];
        int m = nm[1];

        strmaster = arr[1].split(" ");
        List<Integer> listA = new ArrayList<>(); 
        for (int i = 0; i < strmaster.length; i++) {
            listA.add(Integer.parseInt(strmaster[i]));
        }
        
        Collections.sort(listA, Collections.reverseOrder());

        int totalVotes = 0;
        for (Integer integer : listA) {
            totalVotes = totalVotes + integer;
        }

        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        }
        
        if (flag) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        scanner.close();
    } main {
        
        Scanner scanner = new Scanner(System.in);
        String[] arr = new String[2];
        for(int i = 0;i < arr.length;i++) {
            arr[i] = scanner.nextLine();
        }

        String[] strmaster = arr[0].split(" ");

        Integer[] nm = new Integer[2]; 
        for (int i = 0; i < strmaster.length; i++) {
            nm[i] = Integer.parseInt(strmaster[i]);
        }

        int n = nm[0];
        int m = nm[1];

        strmaster = arr[1].split(" ");
        List<Integer> listA = new ArrayList<>(); 
        for (int i = 0; i < strmaster.length; i++) {
            listA.add(Integer.parseInt(strmaster[i]));
        }
        
        Collections.sort(listA, Collections.reverseOrder());

        int totalVotes = 0;
        for (Integer integer : listA) {
            totalVotes = totalVotes + integer;
        }

        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        }
        
        if (flag) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        scanner.close();
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] arr = new String[2]; arr new String[2] 2 for(int i = 0;i < arr.length;i++) {
            arr[i] = scanner.nextLine();
        } int i = 0; int i = 0; i 0 i < arr.length i arr.length arr arr.length i++ i++ i {
            arr[i] = scanner.nextLine();
        } {
            arr[i] = scanner.nextLine();
        } arr[i] = scanner.nextLine() arr[i] arr i scanner.nextLine() scanner.nextLine scanner String[] strmaster = arr[0].split(" "); strmaster arr[0].split(" ") arr[0].split arr[0] arr 0 " " Integer[] nm = new Integer[2]; nm new Integer[2] 2 for (int i = 0; i < strmaster.length; i++) {
            nm[i] = Integer.parseInt(strmaster[i]);
        } int i = 0; int i = 0; i 0 i < strmaster.length i strmaster.length strmaster strmaster.length i++ i++ i {
            nm[i] = Integer.parseInt(strmaster[i]);
        } {
            nm[i] = Integer.parseInt(strmaster[i]);
        } nm[i] = Integer.parseInt(strmaster[i]) nm[i] nm i Integer.parseInt(strmaster[i]) Integer.parseInt Integer strmaster[i] strmaster i int n = nm[0]; n nm[0] nm 0 int m = nm[1]; m nm[1] nm 1 strmaster = arr[1].split(" ") strmaster arr[1].split(" ") arr[1].split arr[1] arr 1 " " List<Integer> listA = new ArrayList<>(); listA new ArrayList<>() for (int i = 0; i < strmaster.length; i++) {
            listA.add(Integer.parseInt(strmaster[i]));
        } int i = 0; int i = 0; i 0 i < strmaster.length i strmaster.length strmaster strmaster.length i++ i++ i {
            listA.add(Integer.parseInt(strmaster[i]));
        } {
            listA.add(Integer.parseInt(strmaster[i]));
        } listA.add(Integer.parseInt(strmaster[i])) listA.add listA Integer.parseInt(strmaster[i]) Integer.parseInt Integer strmaster[i] strmaster i Collections.sort(listA, Collections.reverseOrder()) Collections.sort Collections listA Collections.reverseOrder() Collections.reverseOrder Collections int totalVotes = 0; totalVotes 0 for (Integer integer : listA) {
            totalVotes = totalVotes + integer;
        } Integer integer listA {
            totalVotes = totalVotes + integer;
        } {
            totalVotes = totalVotes + integer;
        } totalVotes = totalVotes + integer totalVotes totalVotes + integer totalVotes integer boolean flag = true; flag true for (int i = 0; i < m; i++) {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        } int i = 0; int i = 0; i 0 i < m i m i++ i++ i {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        } {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        } if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            } listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m)) listA.get(i) listA.get listA i ((totalVotes + (4 * m) - 1) / (4 * m)) (totalVotes + (4 * m) - 1) totalVotes + (4 * m) totalVotes (4 * m) 4 m 1 (4 * m) 4 m {
                flag = false;
            } flag = false flag false if (flag) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        } flag {
            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" scanner.close() scanner.close scanner final String[] args args
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        
        Scanner scanner = new Scanner(System.in);
        String[] arr = new String[2];
        for(int i = 0;i < arr.length;i++) {
            arr[i] = scanner.nextLine();
        }

        String[] strmaster = arr[0].split(" ");

        Integer[] nm = new Integer[2]; 
        for (int i = 0; i < strmaster.length; i++) {
            nm[i] = Integer.parseInt(strmaster[i]);
        }

        int n = nm[0];
        int m = nm[1];

        strmaster = arr[1].split(" ");
        List<Integer> listA = new ArrayList<>(); 
        for (int i = 0; i < strmaster.length; i++) {
            listA.add(Integer.parseInt(strmaster[i]));
        }
        
        Collections.sort(listA, Collections.reverseOrder());

        int totalVotes = 0;
        for (Integer integer : listA) {
            totalVotes = totalVotes + integer;
        }

        boolean flag = true;
        for (int i = 0; i < m; i++) {
            if (listA.get(i) < ((totalVotes + (4 * m) - 1) / (4 * m))) {
                flag = false;
            }
        }
        
        if (flag) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        scanner.close();
    }
}