func_code_string: #include <iostream>   #include <algorithm>   #define int long long   using namespace std;   void solve () {    int a, b, c, d;    cin >> a >> b >> c >> d;    int arr[4] = {a,b,c,d};    sort (arr, arr+4);    int max1 = arr[4-1];    int max2 = arr[4-2];    int win1 = max (a, b);    int win2 = max (c, d);    if (win1 == max1 && win2 == max2){     cout <<  YES  <<   n ;     return;    }    if (win1 == max2 && win2 == max1){     cout <<  YES  <<   n ;     return;    }    cout <<  NO  <<   n ;   }   signed main () {    ios_base::sync_with_stdio (0);cin.tie (0);    int t; cin >> t;    while (t--) {     solve ();    }    }