#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  scanf("%d", &t);
  ;
  while (t--) {
    long long n, l, r;
    cin >> n >> l >> r;
    if (n < l)
      cout << "No\n";
    else if (n >= l && n <= r)
      cout << "Yes\n";
    else {
      long long leastsum = l * (n / l);
      long long maxsum = r * (n / l);
      if (n >= leastsum && n <= maxsum)
        cout << "Yes\n";
      else
        cout << "No\n";
    }
  }
  return 0;
}
