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