Help me in solving CS9 problem

My issue

I get the same output. But still its a wrong answer and why?

My code

# The code below is incorrect. Debug the code to solve this problem

t=int(input())
for i in range(t):
    X,Y = map(int, input().split())
    if X==Y:
        print("YES")
    else:
        print("NO")
    

Learning course: Python with Data structures
Problem Link: CodeChef: Practical coding for everyone