#include <bits/stdc++.h>   using namespace std;   long long T;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     cin >> T;     int a, b, c, d;     while (T--) {       cin >> a >> b >> c >> d;       bool ok = 0;       if (a == c) {         if (d + b == a) ok = 1;       }       if (a == d) {         if (c + b == a) ok = 1;       }       if (b == c) {         if (a + d == b) ok = 1;       }       if (b == d) {         if (a + c == b) ok = 1;       }       if (ok)         cout <<  Yes n ;       else         cout <<  No n ;     }     return 0;   }   