t = int(input()) for _ in range(t): n,a,b = map(int,input().split()) if a != b and (a%2 or b%2): print("YES") else: print("NO")