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