Help me in solving WATERCONS problem

My issue

HOW TO SOLVE THIS

My code

# cook your dish here
t=int(input())
X=int(input())
for t in range(X):
    if(X>2000):
        print("YES")
    else:
        print("NO")

Problem Link: WATERCONS Problem - CodeChef

@vandana62
X should be >= 2000 and also print \n after each test case to leave line.