Help me in solving BMC09 problem

My issue

Dont know how to do this

My code

# Update the code below to solve the problem

t = int(input())
for i in range(t):
    N = int(input())
    if((N%2!=0)<7):
        print('YES')
    else:
        print('NO')

  
 

Learning course: Python with Data structures
Problem Link: Practice Problem in - CodeChef