#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  char answer[t];
  for (int i = 0; i < t; i++) {
    int n, l, r;
    cin >> n >> l >> r;
    long long k = n / l;
    if (k * r >= n) {
      answer[i] = 'y';
    } else {
      answer[i] = 'n';
    }
  }
  for (int i = 0; i < t; i++) {
    if (answer[i] == 'y') {
      cout << "Yes"
           << "\n";
    } else
      cout << "No"
           << "\n";
  }
}
