#include <bits/stdc++.h>
using namespace std;
int main() {
  int tc;
  cin >> tc;
  long long n, l, r, q;
  while (tc--) {
    cin >> n >> l >> r;
    q = n / l;
    cout << (r * q >= n ? "Yes" : "No") << endl;
  }
}
