#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ld long double
#define uns unsigned
#define fs first
#define sc second
#define fast ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define precis cout.precision(6)
const int inf = 1e18;

void solve() {

    int n;
    cin >> n;

    bool flag = 0;

    for(int i = 1; i <= n; i++){
        int a;
        cin >> a;
        if(a < 0){
            flag = 1;
        }
    }

    if(flag){
        cout << "NO";
    }

    else{

        cout << "YES" << '\n';
        cout << 101 << '\n';

        for(int i = 0; i <= 100; i++)
            cout << i << ' ';
    }
}

signed main() {

    fast;
    precis;

    int t;
    cin >> t;

    for(int i = 0; i < t; i++){
        solve();
        cout << '\n';
    }

    return 0;
}