""" 全要素が連結ならOK """ import sys from sys import stdin import math T = int(stdin.readline()) ANS = [] for i in range(T): N,A,B = map(int,stdin.readline().split()) if A > B: A,B = B,A if 1+A - 1 > N-A: ANS.append("NO") elif math.gcd(A,B) != 1: ANS.append("NO") elif (N-B)*2 < A: ANS.append("NO") else: ANS.append("YES") print ("\n".join(map(str,ANS)))