#include<cstdio>
#include<cstring>
#include<iostream>
using namespace std;
int main(){
	int h,a,sum=0,x;
	cin>>h>>a;
	for(int i=1;i<=n;i++){
		cin>>x;
		sum+=x;
	}
	if(h<=sum)cout<<"Yes";
	else cout<<"No";
	return 0;
}