#include <bits/stdc++.h>
using namespace std;
const int maxn = 60;
string ss = "abacaba";
string s;
int n, f;
bool check(string &a) {
  int cnt = 0;
  for (int i = 0; i + 7 <= n; i++) {
    if (a.substr(i, 7) == ss) cnt++;
  }
  return cnt == 1;
}
int main() {
  int T;
  scanf("%d", &T);
  while (T--) {
    cin >> n >> s;
    int f = 0;
    for (int i = 0; i + 7 <= n; i++) {
      string st = s;
      bool ok = 1;
      for (int j = 0; j < 7; j++) {
        if (st[i + j] != ss[j] && st[i + j] != '?') {
          ok = 0;
          break;
        }
        st[i + j] = ss[j];
      }
      if (ok && check(st)) {
        for (int j = 0; j < n; j++) {
          if (st[j] == '?') {
            st[j] = 'z';
          }
        }
        cout << "yes" << '\n';
        f = 1;
        cout << st << '\n';
        break;
      }
    }
    if (!f) cout << "no" << '\n';
  }
  return 0;
}
