#include <bits/stdc++.h>
using namespace std;
inline int read() {
  register int x = 0;
  register char ch;
  bool neg = 0;
  ch = getchar();
  while (ch != '-' && (ch < 48 || ch > 57)) ch = getchar();
  if (ch == '-') {
    neg = 1;
    ch = getchar();
  }
  do {
    x = (x << 3) + (x << 1) + (ch - 48);
    ch = getchar();
  } while (ch > 47 && ch < 58);
  return (neg ? -x : x);
}
int main() {
  int t, n, l, r;
  cin >> t;
  while (t--) {
    cin >> n >> l >> r;
    if ((long long)r * (n / l) < n) {
      puts("No");
      continue;
    }
    puts("Yes");
  }
}
