Help me in solving BMC09 problem.. Please suggest any testcase where this code is running?

My issue

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 or N%7 == 0):
        print("YES")
    elif((N%7)%2 == 0):
        print("YES")
    else:
        print("NO")
        
    
    
        
        

Learning course: Python for problem solving - 2
Problem Link: CodeChef: Practical coding for everyone

@maheshpatil20
The question asks for whether u can make N as a sum of severals possible zero 2’s and 7’s or not.
and the logic would u can always make n>=7 and all even numbers but can not make 1,3,5 odd numbers

t = int(input())
for i in range(t):
N = int(input())

if (N%2 == 0 or N%7 == 0):
    print("YES")
elif((N%7)%2 == 0):
    print("YES")
else:
    n = [1,3,5]
    if N in n:
        print("NO")
    elif N%2 ==1:
        print("YES")

it works