/* -*- coding: utf-8 -*- * * 1850.cc: No.1850 Rewrite Product - yukicoder */ #include #include using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int tn; scanf("%d", &tn); while (tn--) { int x, y; scanf("%d%d", &x, &y); if (x >= 5 || x >= y) puts("Yes"); else puts("No"); } return 0; }