#include <bits/stdc++.h>
using namespace std;
template <typename T>
void out(T x) {
  cout << x << endl;
  exit(0);
}
const int maxn = 1e6 + 5;
int t;
bool solve() {
  int n, l, r;
  cin >> n >> l >> r;
  if (n < l) return false;
  if (l <= n && n <= r) return true;
  int k = n / l;
  return 1LL * r * k >= 1LL * n;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> t;
  while (t--) {
    if (solve()) {
      cout << "Yes\n";
    } else {
      cout << "No\n";
    }
  }
  return 0;
}
