#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; void solve(){ int X, Y; cin >> X >> Y; if (X >= 5) cout << "Yes" << endl; else if (X >= Y) cout << "Yes" << endl; else cout << "No" << endl; } int main(){ int T; cin >> T; while(T){ T--; solve(); } return 0; }