#include using namespace std; using ll = long long; int main(){ int a,b,c,d; cin >> a>>b>>c>>d; if (ad) cout <<"YES"<