import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.List; List java.util public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int sum = 0 sum 0 cnt = 0; cnt 0 String[] n = new String[2]; n new String[2] 2 String[] e = null; e null List<Integer> list = new ArrayList<>(); list new ArrayList<>() List<Integer> eleList = new ArrayList<>(); eleList new ArrayList<>() n = br.readLine().split(" ") n br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " list.add(Integer.parseInt(n[0])) list.add list Integer.parseInt(n[0]) Integer.parseInt Integer n[0] n 0 list.add(Integer.parseInt(n[1])) list.add list Integer.parseInt(n[1]) Integer.parseInt Integer n[1] n 1 e = new String[list.get(0)] e new String[list.get(0)] list.get(0) list.get list 0 e = br.readLine().split(" ") e br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " Arrays.sort(e) Arrays.sort Arrays e for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		} int i = 0; int i = 0; i 0 i < list.get(0) i list.get(0) list.get list 0 i++ i++ i {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		} {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		} eleList.add(Integer.parseInt(e[ i ])) eleList.add eleList Integer.parseInt(e[ i ]) Integer.parseInt Integer e[ i ] e i sum += eleList.get(i) sum eleList.get(i) eleList.get eleList i for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		} int i = 0; int i = 0; i 0 i < list.get(0) i list.get(0) list.get list 0 i++ i++ i {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		} {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		} if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++; (double) sum / (4 * list.get(1)) <= eleList.get(i) (double) sum / (4 * list.get(1)) (double) sum (4 * list.get(1)) 4 list.get(1) list.get list 1 eleList.get(i) eleList.get eleList i cnt++ cnt System.out.println(list.get(1) <= cnt ? "Yes" : "No") System.out.println System.out System System.out list.get(1) <= cnt ? "Yes" : "No" list.get(1) <= cnt list.get(1) list.get list 1 cnt "Yes" "No" String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		int sum = 0, cnt = 0;
		String[] n = new String[2];
		String[] e = null;
		List<Integer> list = new ArrayList<>();
		List<Integer> eleList = new ArrayList<>();
		n = br.readLine().split(" ");
		list.add(Integer.parseInt(n[0]));list.add(Integer.parseInt(n[1]));
		e = new String[list.get(0)];
		e = br.readLine().split(" ");
		Arrays.sort(e);
		for (int i = 0; i < list.get(0); i++) {
			eleList.add(Integer.parseInt(e[ i ]));
			sum += eleList.get(i);
		}
		for (int i = 0; i < list.get(0); i++) {
			if ((double) sum / (4 * list.get(1)) <= eleList.get(i))
				cnt++;
		}
		System.out.println(list.get(1) <= cnt ? "Yes" : "No");
	}
}
