#include<bits/stdc++.h>
using namespace std;
 
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
 
	long long n,i,t,j,c,k,f,ans,mod,x;
	long long a[200],b;
	string s,p;
	
	//map < long long, long long > mp,pr;
	cin>>t;
 	//t=1;
 	
 
 	while(t--)
 	{
 		cin>>n;

 		int g=0,l=0,c=0;

 		for(i=0;i<n;i++)
 		{
 			cin>>a[i];
 			if(a[i]>0)
 				g++;
 			if(a[i]<0)
 				l++;
 		}

 		if(l)
 			cout<<"NO";

 		else
 		{
 			cout<<"YES\n";
 			if(g)
 			{
 				cout<<300<<"\n";
 				for(i=0;i<300;i++)
 					cout<<i<<" ";
 			}
 			else if(l)
 			{
 				cout<<220<<"\n";
 				for(i=110;i>=-100;i--)
 				{
 					//c++;	
 					cout<<i<<" ";
 				}	
 				//cout<<c;	
 			}
 			else
 			{
 				cout<<300<<"\n";
 				for(i=0;i<300;i++)
 					cout<<i<<" ";	
 			}
 		}


 		cout<<"\n";
 
 	}
	return 0;
}