#include <bits/stdc++.h>

#define int long long

// typedef long long llong;

using namespace std;

void solve_test() {
    int n, u, r, d, l;
    cin >> n >> u >> r >> d >> l;
    for (int mask = 0; mask < (1 << 4); mask++) {
        vector<int> val(4);
        for (int i = 0; i < 4; i++) {
            val[i] = (mask >> i) & 1;
        }
        bool ok = true;
        if (n - 2 - (u - val[0] - val[1]) < 0 || val[0] + val[1] > u) ok = false;
        if (n - 2 - (r - val[1] - val[2]) < 0 || val[1] + val[2] > r) ok = false;
        if (n - 2 - (d - val[2] - val[3]) < 0 || val[2] + val[3] > d) ok = false;
        if (n - 2 - (l - val[3] - val[0]) < 0 || val[3] + val[0] > l) ok = false;
        if (ok) {
            cout << "YES\n";
            return;
        }
    }
    cout << "NO\n";
}

signed main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);

    int tests = 1;
    cin >> tests;
    while (tests--) {
        solve_test();
    }

    return 0;
}
