#include int main() { int t; scanf("%d", &t); int x, y; for (; t > 0; t--) { scanf("%d %d", &x, &y); if (x >= y) printf("Yes\n"); else if (x > 4) printf("Yes\n"); else printf("No\n"); } return 0; }