#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); int T; cin >> T; rep(_,T) { int X,Y; cin >> X >> Y; if(Y <= X) cout << "Yes" << endl; else { // 2 * (N - 2) > N // 2N - 4 > N // N > 4 if(4 < X) cout << "Yes" << endl; else cout << "No" << endl; } } }