#include <bits/stdc++.h>
#define endl "\n"
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0)
using namespace std;
#define MOD 1000000007 //1e9 + 7
#define INF 1000000000000000007 // 1e18+7
#define cand &&
#define cor ||
#define band &
#define bor |
#define ll long long
#define int long long
#define pb push_back
#define pairs pair <int, int>
#define mp make_pair
#define ff first
#define ss second
 
int32_t main() {
    int t;
    cin>>t;
    while (t--) {
        int n;
        cin>>n;
        int f = 1;
        for (int i=0; i<n; i++) {
            int k;
            cin>>k;
            if (k < 0) {
                f = 0;
            }
        }
        if (f) {
            cout<<"YES"<<endl;
            cout<<201<<endl;
            for (int i=0; i<201; i++) {
                cout<<i<<" ";
            }
            cout<<endl;
        } else {
            cout<<"NO"<<endl;
        }
    }
    return 0;
}