#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define N (1000000000+7) #define M 998244353 #define INF 1e16 typedef long long ll; typedef pair P; const int inf = (int)1e9; ll A(ll x){ if(x>=0)return x; else return -x; } ll gcd(ll a, ll b) { if (b > a) { ll tmp = b; b = a; a = tmp; } if (a%b == 0)return b; else return gcd(b, a%b); } mapmp; int main(void){ int a1,a2,a3,a4; cin>>a1>>a2>>a3>>a4; if(a1a4)cout<<"YES"<