#include <bits/stdc++.h>
using namespace std;
int t;
int main() {
  while (scanf("%d", &t) != EOF) {
    while (t--) {
      int n, l, r;
      scanf("%d%d%d", &n, &l, &r);
      if (n < l && n < r)
        printf("No\n");
      else {
        int tip = n / l;
        if ((r >= 2 * l - 1) || (n >= l && n <= r) || (tip * r >= n))
          printf("Yes\n");
        else
          printf("No\n");
      }
    }
  }
  return 0;
}
