#include <bits/stdc++.h>
#define testCase int T; cin>>T; while(T--)
#define int long long
#define Endl endl

using namespace std;

/*
 */
const int N = 1e5+13, LMAX  = 3e18 + 13, IMAX = 1e9 + 5, mod  = 1e9 + 7; //998244353;

int32_t main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    testCase {
        int mn = 101;
        int n, x;
        cin >> n;
        for (int i = 0; i < n; ++i) {
            cin >> x;
            mn = min(mn, x);
        }
        if (mn < 0) cout << "NO\n";
        else {
            cout << "YES\n";
            cout << "101\n";
            for (int i = 0; i <=100; ++i) {
                cout << i << " ";
            }cout << "\n";
        }
    }
    return 0;
}