/**
 *   @FileName	a.cpp
 *   @Author	kanpurin
 *   @Created	2021.05.18 01:51:55
**/

#include "bits/stdc++.h" 
using namespace std; 
typedef long long ll;

int main() {
    int t;cin >> t;
    while(t--) {
        ll n,a,b;cin >> n >> a >> b;
        ll g = __gcd(a,b);
        if (g != 1) {
            puts("NO");
            continue;
        }
        if (a > b) swap(a,b);
        if (2*a - n > 0 || 2*b-n > a-1) puts("NO");
        else puts("YES");
    }
    return 0;
}