#include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define rep(i,a,b) for(ll i=a; i<b; i++)
const int INF = 1e9 + 7;

void solve() {
    int n;
    cin>>n;
    vector<int> a(n);
    rep(i, 0, n) cin>>a[i];
    rep(i, 0, n) {
        if(a[i] < 0) {
            cout<<"NO"<<endl;
            return;
        }
    }
    cout<<"YES"<<endl;
    cout<<101<<endl;
    rep(i, 0, 101)
        cout<<i<<" ";
    cout<<endl;
}

int main(){
    IOS;
    int t;
    cin>> t;
    while(t--) solve();
    return 0;
}



