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