for _ in[0]*int(input()): X,Y=map(int,input().split()) print("No"if X