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