Help me in solving CHRISDECOR problem

My issue

there is some problem in my code don’t know about it.

My code

# cook your dish here
t=int(input())
while t:
    n,x,y=input().split()
    n,x,y=int(n),int(x),int(y)
    b=int(y/3)
    c=int((x-b)/2)
    if b>x:
        print("no")
    else:
        c=int((x-b)/2)
        if c+b<n:
            print("no")
        elif c+b>=n:
            print("yes")
        else:
            print("yes")
 
    t-=1

Problem Link: Decorating Christmas Tree Practice Coding Problem - CodeChef