for _ in range(int(input())): X,Y=map(int,input().split()) print("No"if X