#include <algorithm>
#include <vector>
#include <iostream>
using namespace std;
int main(){
    int t;
    int n;
    cin >> t;
    while(t--){
        int ans =0,even=0,q;
        cin >> n;
        for(int i=0;i<2*n;i++){
            cin >> q;
            if(q%2==1) ans++;
            else even++;
        }
        if(ans%n==0&&ans==even) cout << "YES" << endl; 
        else cout << "NO" << endl;}
}