#include <bits/stdc++.h>
#define ff { ios_base::sync_with_stdio(false);cin.tie(NULL);}
using namespace std;

typedef long long ll;
 ll  pp=1e9+7; 
double pi=3.141592653589793238;
  
 int main() {
        ff;
        ll t;
        cin>>t;
        while(t--){
           ll n;
           cin>>n;
           ll a[n];
           ll f=0;
           for(int i=0;i<n;i++){
               cin>>a[i];
               if(a[i]<0)f=1;
           }
           if(f==1)cout<<"No"<<endl;
           else{
               cout<<"Yes"<<endl;
               cout<<"101"<<endl;
               for(int i=0;i<101;i++){
                   cout<<i<<" ";
               }
               cout<<endl;
           }
           
                
        }
		
    return 0;
}

            
		
        
           
  