#include <bits/stdc++.h>
using namespace std;
const long long N = 1000000;
long long n, m, k, u, r, z, c, d, pat, i, j, x, y, p, ii, jj;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> u;
  while (u--) {
    k = 0;
    cin >> n;
    string a, b = "abacaba", c;
    cin >> a;
    for (i = 0; i < n; i++) {
      k = 0;
      p = 0;
      c = a;
      x = 0;
      for (j = i; j < i + 7; j++) {
        if (a[j] != '?' && a[j] != b[j - i]) {
          x = 1;
          break;
        }
        if (a[j] == '?') {
          c[j] = b[j - i];
        }
      }
      if (x == 0) {
        for (ii = 0; ii < n; ii++) {
          y = 0;
          for (jj = ii; jj < ii + 7; jj++) {
            if (c[jj] != b[jj - ii]) {
              y = 1;
              break;
            }
          }
          if (y == 0) {
            k++;
          }
        }
        if (k == 1) {
          p = 1;
          break;
        }
      }
    }
    if (p == 1) {
      p = 0;
      cout << "YES" << endl;
      for (i = 0; i < n; i++)
        if (c[i] == '?')
          cout << 'o';
        else
          cout << c[i];
      cout << endl;
    } else
      cout << "NO" << endl;
  }
  return 0;
}
