#include <iostream>
using namespace std;
int main(){
	int t;
	cin >> t;
	while(t--){
		int n,top,right,bottom,left;
		cin >> n >> top >> right >> bottom >> left;
		int top1 = top,right1 = right,bottom1 = bottom,left1 = left;
		// std::vector<int> v = {top,right,bottom,left};
		if(n - top1 == 0)
		{
			left--;
			right--;
		}
		if(n - top1 == 1)
		{
			if(left>right) left--;
			else right--;
		}
		if(n - right1 == 0)
		{
			top--;
			bottom--;
		}
		if(n - right1 == 1)
		{
			if(top>bottom) top--;
			else bottom--;
		}
		if(n - bottom1 == 0)
		{
			left--;
			right--;
		}
		if(n - bottom1 == 1)
		{
			if(left>right) left--;
			else right--;
		}
		if(n - left1 == 0)
		{
			top--;
			bottom--;
		}
		if(n - left1 == 1)
		{
			if(top>bottom) top--;
			else bottom--;
		}
		//cout << top << " " << right << " " << bottom << " " << left << endl;
		if(top >=0 && right >=0 && bottom >=0 && left >=0)
			cout << "YES\n";
		else cout << "NO\n";
	}
}
// 2 0 1 2 2