#include <bits/stdc++.h>
using ll = long long;
using namespace  std;
int main()
{
    ll t;
    cin>>t;
    while(t--)
    {
        ll n,l,r;
        cin>>n>>l>>r;
        int res = n % (l+r);
        if(res>=l)cout<<"YES"<<endl;
        else cout<<"NO"<<endl;
    }

    return 0;
}