#include <bits/stdc++.h>
using namespace std;

#define fast_io              \
    ios::sync_with_stdio(0); \
    cin.tie(NULL);           \
    cout.tie(NULL);
#define lli long long
#define loop(i, l, r) for (lli i = l; l < r ? i < r : i > r; l < r ? i += 1 : i -= 1)
#define itr(it, a) for (auto it = a.begin(); it != a.end(); it++)
#define it(i, a) for (auto i : a)
#define endl "\n"
#define inputarray(arr, start, size) \
    loop(i, start, size) { cin >> arr[i]; }
#define printarray(arr, start, size)                \
    loop(i, start, size) { cout << arr[i] << " "; } \
    cout << endl;
#define mod 1000000007
#define inf 1e18
#define sp(x, y) fixed << setprecision(y) << x << endl;
#define pii pair<lli, lli>
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define all(x) x.begin(), x.end()
#define clr(x) memset(x, 0, sizeof(x))
#define sortall(x) sort(all(x))
#define debug(x) cout << #x << "=" << x << endl

int main()
{
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
#endif
    fast_io
        lli t = 1;
    cin >> t;
    while (t--)
    {
        lli n;
        cin >> n;
        vector<lli> v(n);
        inputarray(v, 0, n);
        bool flag = 0;
        lli diff = INT_MAX, md = INT_MIN;
        loop(i, 0, n)
        {
            if (v[i] < 0)
            {
                flag = 1;
                break;
            }
        }
        if (flag)
        {
            cout << "NO" << endl;
            continue;
        }

        cout << "YES" << endl;
        cout << "101" << endl;
        vector<lli> b;
        loop(i, 0, 101)
        {
            b.push_back(i);
        }
        printarray(b, 0, b.size());
    }
    return 0;
}