#include <bits/stdc++.h>
using namespace std;
int main() {
  int tcase;
  long long k, n, l, r;
  scanf("%d", &tcase);
  while (tcase--) {
    cin >> n >> l >> r;
    if ((n / l) * r >= n)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
