#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:1024000000,1024000000")
using namespace std;
int main() {
  long long n, l, r, t;
  cin >> t;
  while (t--) {
    cin >> n >> l >> r;
    cout << ((n % l <= (r - l) * (n / l)) ? "Yes\n" : "No\n");
  }
  return 0;
}
