#include "bits/stdc++.h"
using namespace std;
#define int long long int
#define forr(i,n) for(int i=0;i<n;i++)
int32_t main()
{
    int t;
    cin>>t;
    while(t--)
    {
        int n;
        cin>>n;
        n*=2;
        int ar[n];
        int a=0,b=0;
        forr(i,n)
        {
            cin>>ar[i];
            if(ar[i]%2==0)
            a++;
            else
            b++;
        }
        if(a==b)
        cout<<"YES";
        else
        cout<<"NO";
        cout<<endl;    }
}