#include<cstdio>
#include<cstring>
#include<iostream>
#include<cmath>
using namespace std;
int main(){
int a,b,c,d,e;
cin>>a>>b>>c>>d>>e;
if(a<=c+d+e)cout<<"Yes"<<endl;
else cout<<"No"<<endl;
return 0;
}