human
Berland crossword is a puzzle that is solved on a square grid with n rows and n columns. Initially all the cells are white.

To solve the puzzle one has to color some cells on the border of the grid black in such a way that: 

  * exactly U cells in the top row are black.

  * exactly R cells in the rightmost column are black.

  * exactly D cells in the bottom row are black.

  * exactly L cells in the leftmost column are black. 


Note that you can color zero cells black and leave every cell white.

Your task is to check if there exists a solution to the given puzzle.

Input

The first line contains a single integer t (1 ≤ t ≤ 1000) — the number of testcases.

Then the descriptions of t testcases follow.

The only line of each testcase contains 5 integers n, U, R, D, L (2 ≤ n ≤ 100.
0 ≤ U, R, D, L ≤ n).

Output

For each testcase print "YES" if the solution exists and "NO" otherwise.

You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes and YES are all recognized as positive answer).

Example

Input

4
5 2 5 3 1
3 0 0 0 0
4 4 1 4 0
2 1 1 1 1

Output

YES
YES
NO
YES

Note

Here are possible solutions to testcases 1, 2 and 4: 


def
assistant
#Here is Python code to print "YES" if the solution exists and "NO" otherwise.
main():
    
    t=int(input())
    allans=[]
    for _ in range(t):
        n,U,R,D,L=readIntArr()
        
        #Try all combinations of colouring corners
        ok=False
        for cornerBin in range(2**4):
            b=cornerBin
            minU=minR=minD=minL=0 #min possible u,r,d,l
            if (b&(1<<0))>0: #top-left
                minU+=1;minL+=1
            if (b&(1<<1))>0: #top-right
                minU+=1;minR+=1
            if (b&(1<<2))>0: #bottom-right
                minD+=1;minR+=1
            if (b&(1<<3))>0: #bottom-left
                minD+=1;minL+=1
            
            maxU=maxR=maxD=maxL=n
            if (b&(1<<0))==0: #top-left
                maxU-=1;maxL-=1
            if (b&(1<<1))==0: #top-right
                maxU-=1;maxR-=1
            if (b&(1<<2))==0: #bottom-right
                maxD-=1;maxR-=1
            if (b&(1<<3))==0: #bottom-left
                maxD-=1;maxL-=1
            
            if minU<=U<=maxU and minR<=R<=maxR and minD<=D<=maxD and minL<=L<=maxL:
                ok=True
            
        if ok:
            allans.append('YES')
        else:
            allans.append('NO')
    multiLineArrayPrint(allans)
    
    return
    
import sys
input=sys.stdin.buffer.readline #FOR READING PURE INTEGER INPUTS (space separation ok)
# import sys
# input=lambda: sys.stdin.readline().rstrip("\r\n") #FOR READING STRING/TEXT INPUTS.
 
def oneLineArrayPrint(arr):
    print(' '.join([str(x) for x in arr]))
def multiLineArrayPrint(arr):
    print('\n'.join([str(x) for x in arr]))
def multiLineArrayOfArraysPrint(arr):
    print('\n'.join([' '.join([str(x) for x in y]) for y in arr]))
 
def readIntArr():
    return [int(x) for x in input().split()]
# def readFloatArr():
#     return [float(x) for x in input().split()]
 
inf=float('inf')
MOD=10**9+7
 
main()