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