#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 10, mod = 1e9 + 7;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  string pat = "abacaba";
  while (t--) {
    string ans = "";
    int n;
    string s;
    cin >> n >> s;
    for (int i = 0; i + 7 <= n; i++) {
      string hlp = s;
      bool bad = false;
      for (int j = 0; j < 7; j++) {
        if (hlp[i + j] != pat[j]) {
          if (hlp[i + j] != '?')
            bad = true;
          else
            hlp[i + j] = pat[j];
        }
      }
      for (int j = 0; j < n; j++)
        if (hlp[j] == '?') hlp[j] = 'z';
      int occ = 0;
      for (int j = 0; j + 7 <= n; j++) {
        bool match = true;
        for (int k = 0; k < 7; k++)
          if (hlp[j + k] != pat[k]) match = false;
        if (match) occ++;
      }
      if (!bad && occ == 1) ans = hlp;
    }
    if (ans == "")
      cout << "No\n";
    else
      cout << "Yes\n" << ans << "\n";
  }
  return 0;
}
