func_code_string: #include <bits/stdc++.h>   using namespace std;   long long int n;   string m =  abacaba ;   long long int bal(string s) {     long long int bl = 0;     for (long long int i = 0; i < n - 6; i++) {       bool b = true;       for (long long int j = 0; j < m.size(); j++) {         if (s[i + j] != m[j]) {           b = false;           break;         }       }       if (b) bl++;     }     return bl;   }   int main() {     long long int tc;     scanf( %lld , &tc);     while (tc--) {       scanf( %lld , &n);       string s;       cin >> s;       long long int koto = bal(s);       if (koto == 1) {         for (long long int i = 0; i < n; i++) {           if (s[i] ==  ? ) s[i] =  d ;         }         cout <<  YES  << endl << s << endl;         continue;       }       if (koto >= 2) {         cout <<  NO  << endl;         continue;       }       long long int oh = 0;       for (long long int i = 0; i < n - 6; i++) {         string ans = s;         for (long long int j = 0; j < m.size(); j++) {           if (ans[i + j] ==  ? ) ans[i + j] = m[j];         }         koto = bal(ans);         if (koto > 1 || koto == 0) continue;         for (long long int j = 0; j < n; j++) {           if (ans[j] ==  ? ) ans[j] =  d ;         }         oh = 1;         s = ans;         break;       }       if (oh) {         cout <<  YES  << endl << s << endl;       } else         cout <<  NO  << endl;     }   }   