func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long inf = 1e16 + 3;   const int mod = 1e9 + 7;   const int lim = 2e5 + 2;   int q, ni;   string str;   void solve() {     cin >> q;     while (q--) {       cin >> ni >> str;       if (ni > 2) {         cout <<  YES               <<   n ;         cout << 2 <<   n ;         cout << str[0] <<    ;         for (int i = 1; i < ni; i++) cout << str[i];         cout <<   n ;       } else {         int f = str[0] -  0 ;         int s = str[1] -  0 ;         if (f < s) {           cout <<  YES                 <<   n ;           cout << 2 <<   n ;           cout << str[0] <<     << str[1] <<   n ;         } else           cout <<  NO                 <<   n ;       }     }   }   void fastIO() {     cin.sync_with_stdio(false);     cin.tie(0);   }   void IO() {     if (fopen( d:  lmo.in ,  r ) != NULL) {       freopen( d:  lmo.in ,  r , stdin);     } else if (fopen( /media/luismo/Pablo s Destruction/lmo.in ,  r ) != NULL) {       freopen( /media/luismo/Pablo s Destruction/lmo.in ,  r , stdin);     }   }   int main() {     IO();     fastIO();     solve();   }   