#include <bits/stdc++.h>
using namespace std;
int t, n, l, r;
int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    cin >> t;
    while (t--) {
        cin >> n >> l >> r;
        cout << (n % (r + l) >= l ? "YES\n" : "NO\n");
    }
    return 0;
}