unittest
{
	assert( [ "10 3", "4 5 6" ].parse.expand.solve == "Yes" );
	assert( [ "20 3", "4 5 6" ].parse.expand.solve == "No" );
	assert( [ "210 5", "31 41 59 26 53" ].parse.expand.solve == "Yes" );
	assert( [ "211 5", "31 41 59 26 53" ].parse.expand.solve == "No" );
}



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 hn = input.front.split.to!( long[] );
	input.popFront;
	auto as = input.front.split.to!( long[] );
	return tuple( hn[ 0 ], as );
}

auto solve( long h, long[] as )
{
	return ( h <= as.sum ) ? "Yes" : "No";
}
