#define rep(i, n) for (int i = 0; i < (int)(n); i++) #define ALL(v) v.begin(), v.end() typedef long long ll; #include using namespace std; int main(){ int t; cin>>t; while(t--){ ll n,a,b; cin>>n>>a>>b; if(gcd(a,b)==1 && a<=n/2 && min(b,n-b)>=a) cout<<"YES"<=b) cout<<"YES"<