Help me in solving PARLIAMENT problem

My issue

My code

# cook your dish here
t=int(input())
for i in range(t):
    X,N=map(int,input().split())
    if (X>=(N//2)):
        print("yes")
    else:
        print("no")

Problem Link: PARLIAMENT Problem - CodeChef