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