#include <iostream>

using namespace std;

int main()
{
    int H; int N; int SUM;
    cin>>H>>N;
    int A[N];
    for (int i=0; i<N ;i++){
        cin>> A[i];
        SUM += A[N];
    }
    if ((H-SUM)<0){
        cout <<"Yes";
    }
    else {
        cout <<"No";
    }

    return 0;
}

