func_code_string: #include <bits/stdc++.h>   using namespace std;   signed main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     ;     long long t = 1;     cin >> t;     while (t--) {       long long n, i, j;       string s, a, b;       cin >> n >> s;       a = b =   ;       bool flag = true;       ;       a +=  1 , b +=  1 ;       for (i = 1; i < n; i++) {         if (s[i] ==  0 ) {           a +=  0 , b +=  0 ;         } else if (s[i] ==  1 ) {           if (flag) {             a +=  1 ;             b +=  0 ;             flag = false;           } else {             a +=  0 ;             b +=  1 ;           }         } else if (s[i] ==  2 ) {           if (flag) {             a +=  1 , b +=  1 ;           } else {             a +=  0 , b +=  2 ;           }         }       }       cout << a <<   n  << b <<   n ;     }     return 0;   }   