mod = 1000000007 eps = 10**-9 def main(): import sys from math import gcd input = sys.stdin.readline for _ in range(int(input())): N, A, B = map(int, input().split()) if gcd(A, B) != 1 or min(A, B) > N // 2: print("NO") else: print("YES") if __name__ == '__main__': main()