#include int main() { int t, T, X, Y; scanf("%d", &T); for (t = 1; t <= T; t++) { scanf("%d %d", &X, &Y); if (X <= 2 && Y > X) printf("No\n"); else printf("Yes\n"); } fflush(stdout); return 0; }