#include using namespace std; int main() { int N,a,b,c; cin >> N >> a >> b >> c; if(a == c) { cout << "No" << endl; } else if(a < b) { if(N-c+1+a <= N) { cout << "Yes" << endl; } else { cout << "No" << endl; } } else { if(N-a+1+c <= N) { cout << "Yes" << endl; } else { cout << "No" << endl; } } }