#include #define int long long #define double long double using namespace std; const int MOD = 1000000007; const int INF = 1e14; using Graph = vector>; signed main(){ int A,B,C,D; cin >> A >> B >> C >> D; if( AD ) cout << "YES" << endl; else cout << "NO" << endl; }