#include<iostream>
using namespace std;
int main(){
	int t;
	cin>>t;
	while(t--){
		int n,f=0;
		cin>>n;
		int a[n];
		for(int i=0;i<n;i++){
			cin>>a[i];
			if(a[i]<0){
				f=1;
			}
		}
		if(f==0){
			cout<<"YES"<<endl;
			cout<<101<<endl;
			for(int i=0;i<=100;i++){
				cout<<i<<" ";
			}
			cout<<endl;
		}
		else{
			cout<<"NO"<<endl;
		}
	}
}
