# Read the input n = int(input()) for _ in range(n): a, b = map(int, input().split()) # Since each clause is a non-empty interval, the answer is always "Yes" print("Yes")