#include using namespace std; int main(){ int a1,a2,a3,a4; cin>>a1>>a2>>a3>>a4; cout<<(a1a4?"YES":"NO")<