#include <iostream>

using namespace std;

int main(){
    int t;
    cin >> t;
    for(int k = 0; k < t; k ++){
        int n;
        int a[305];
        int p = 0, q = 0;
        cin >> n;
        for(int i = 0; i < n; i ++){
            cin >> a[i];
            if(a[i] < 0) p = 1;
            if(a[i] == 0) q = 1;
        }
        if(p == 1) cout << "no" << endl;
        else if(q == 1){
            cout << "yes" << endl << "300" << endl;
            for(int i = 0; i < 300; i ++){
                cout << i << " ";
            }
            cout << endl;
        }
        else{
            cout << "yes" << endl << "300" << endl;
            for(int i = 1; i <= 300; i ++){
                cout << i << " ";
            }
            cout << endl;
        }
    }
}