#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int const MAX = 1e5+50;
int const MOD = 1000000000+7;
map<int, int> mp;
int main(){
    std::cin.tie(nullptr);
    std::ios_base::sync_with_stdio(false);
    int cases; cin>> cases;
    int n;
    int arr[MAX];
    while(cases--){
        cin>> n;
        mp.clear();
        vector<int> v;
        bool flag = false;
        for(int i=0; i<n; i++){
            cin>> arr[i];
            if(arr[i]<0) flag = true;
        }
        if(flag){
            cout<<"No\n";
        }else{
            cout<<"YES\n101\n";
            for(int i=0; i<=100; i++){
                cout<<i<<" ";
            }
            cout<<"\n";
        }
    }
    return 0;
}
