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