import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int N = Integer.parseInt(st.nextToken()); N Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int M = Integer.parseInt(st.nextToken()); M Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int[] arr = new int[N]; arr new int[N] N st = new StringTokenizer(br.readLine()) st new StringTokenizer(br.readLine()) int sum = 0; sum 0 for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		} {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		} arr[i] = Integer.parseInt(st.nextToken()) arr[i] arr i Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st sum += arr[i] sum arr[i] arr i double val = ((double) sum) / (4.0 * (double) M); val ((double) sum) / (4.0 * (double) M) ((double) sum) (4.0 * (double) M) 4.0 (double) M int count = 0; count 0 for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			if (arr[i] >= val) {
				count++;
			}
		} {
			if (arr[i] >= val) {
				count++;
			}
		} if (arr[i] >= val) {
				count++;
			} arr[i] >= val arr[i] arr i val {
				count++;
			} count++ count System.out.println(count < M ? "No" : "Yes") System.out.println System.out System System.out count < M ? "No" : "Yes" count < M count M "No" "Yes" String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		int N = Integer.parseInt(st.nextToken());
		int M = Integer.parseInt(st.nextToken());
		int[] arr = new int[N];
		st = new StringTokenizer(br.readLine());
		int sum = 0;
		for (int i = 0; i < N; i++) {
			arr[i] = Integer.parseInt(st.nextToken());
			sum += arr[i];
		}
		double val = ((double) sum) / (4.0 * (double) M);
		int count = 0;
		for (int i = 0; i < N; i++) {
			if (arr[i] >= val) {
				count++;
			}
		}
		System.out.println(count < M ? "No" : "Yes");
	}
}