#include using namespace std; #pragma GCC optimize("O0") typedef long long int ll; typedef long double ld; const ll mod = 1e9+7; const ll INF = 9223372036854775806; #define rep(i,n) for (ll i = 0; i < (n); ++i) #define Rep(i,a,n) for (ll i = (a); i < (n); ++i) #define All(a) (a).begin(),(a).end() #define Pi acos(-1) using Graph = vector>; using V = vector; using P = pair; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> t; while(t--) { ll x, y; string ans; cin >> x >> y; if (x <= 4) { if (y <= 4) { ans = "Yes"; } else { ans = "No"; } } else { ans = "Yes"; } cout << ans << '\n'; } }