#include <bits/stdc++.h>   using namespace std;   int main() {     long long int i, j, k, m, n, a[100400], t, w, q, sum = 0;     char s[105000];     long double x, y;     cin >> q;     for (j = 0; j < q; j++) {       cin >> n;       cin >> s;       if (n > 2) {         cout <<  YES  << endl;         cout << 2 << endl;         cout << s[0] <<    ;         for (i = 1; i < n; i++) cout << s[i];         cout << endl;       } else {         if (s[0] -  0  < s[1] -  0 ) {           cout <<  YES  << endl;           cout << 2 << endl;           cout << s[0] <<     << s[1] << endl;         } else           cout <<  NO  << endl;       }     }     return 0;   }   