#include<bits/stdc++.h>

#define For(i, x, n) for(int i = x; i < n; i++)
#define ROF(i,x,n) for(int i = n - 1; i >= x; i--)

#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define F first
#define S second
#define pb push_back
#define po pop_back
#define mp make_pair
#define En endl
///#define endl "\n"

#define ALL(x) x.begin(), x.end()

using namespace std;

typedef double db;
typedef long long LL;
typedef string str;
typedef pair<int, int> PII;
typedef pair<LL, LL> PLL;

typedef vector<int> VI;
typedef vector<LL> VLL;
typedef vector<bool> VB;
typedef vector<char> VC;
typedef vector<PII> VPII;
typedef vector<string> VSTR;
typedef set<int> SI;
typedef set<LL> SLL;
typedef set<PII> SPII;

typedef const int CI;
typedef const long long CLL;

/// CI MAX_N = ;
CI MOD = 1e9 + 7;

int t, n, a;

int main () {
    IOS;
    cin >> t;
    while (t--) {
        cin >> n;
        int sumz = 0;
        int sumf = 0;
        For (i, 0, 2 * n) {
            cin >> a;
            if (a % 2 == 0) sumz++;
            else sumf++;
        }
        if (sumz == sumf) cout << "YES" << En;
        else cout << "NO" << En;
    }
}

