#include <bits/stdc++.h>
#define FastIO ios::sync_with_stdio(0); cin.tie(0);
using namespace std;
typedef vector<int> vi;
typedef pair<int, int> pii;
typedef pair<string, int> psi;
typedef pair<long long, long long> pll;
typedef pair<char, int> pci;
typedef pair<int, char> pic;
typedef long long ll;
#define MX 1e3

void no(){
    cout << "NO" << endl;
}

void yes(){
    cout << "yes" << endl;
}

/////////////////////////////////
void solve() { 
    int n; cin >> n;

    bool wrong = false;

    for(int i = 1; i <= n; i++){
        int x; cin >> x;
        if(x < 0) {
            wrong = true;
        }
    }
    if(wrong){
        no();
    } else{
        yes();
        cout << 101 << endl;
        for(int i = 0; i <= 100; i++){
            cout << i << " ";
        }
        cout << endl;
    }

    
    

    

}  

/////////////////////////////////
int main() {
    FastIO; //DONT DELETE

    // solve();
    int n;
    cin >> n;
    while (n--) {
        solve();
    }
    return 0;
}


    
    
    