/** * author: yuya1234 * created: 10.07.2020 21:20:31 **/ #include using namespace std; typedef long long ll; #define REP(i,n) for(ll i=0;i<(ll)(n);i++) #define REPD(i,n) for(ll i=n-1;i>=0;i--) #define FOR(i,a,b) for(ll i=a;i<=(ll)(b);i++) #define FORD(i,a,b) for(ll i=a;i>=(ll)(b);i--) #define ALL(x) x.begin(),x.end() #define SORT(x) sort(x.begin(),x.end()) #define SORTD(x) sort(x.rbegin(),x.rend()) #define UNIQUE(v) v.erase( unique(v.begin(), v.end()), v.end() ); #define SZ(x) ll(x.size()) #define MEMSET(v, h) memset((v), h, sizeof(v)) int main() { cin.tie(0); ios_base::sync_with_stdio(false); int a[4]; cin>>a[0]>>a[1]>>a[2]>>a[3]; if(a[0]a[3])cout<<"YES"<