unittest
{
	assert( [ "4 1", "5 4 2 1" ].parse.expand.solve == "Yes" );
	assert( [ "3 2", "380 19 1" ].parse.expand.solve == "No" );
	assert( [ "12 3", "4 56 78 901 2 345 67 890 123 45 6 789" ].parse.expand.solve == "Yes" );
}



import std.algorithm;
import std.conv;
import std.range;
import std.stdio;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto nm = input.front.split.to!( long[] );
	input.popFront;
	auto as = input.front.split.to!( long[] );
	return tuple( nm[ 1 ], as );
}

auto solve( long m, long[] as )
{
	auto as_s = as.sort();
	auto t = as.sum;
	auto d = t / ( 4 * m ) + ( 0 < t % ( 4 * m ) );
	auto ans = m <= ( as.length.signed - as_s.lowerBound( d ).length.signed );
	return ans ? "Yes" : "No";
}
