func_code_string: #include <bits/stdc++.h>   using namespace std;   signed main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     long long t, n, m;     cin >> t;     while (t--) {       cin >> n >> m;       if (n == 1 || m == 1 || (n == 2 && m == 2)) {         cout <<  YES  << endl;       } else {         cout <<  NO  << endl;       }     }   }   