#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 5;
const string S = "abacaba";
int main() {
  int TC;
  scanf("%d", &TC);
  for (int tc = 1; tc <= TC; tc++) {
    int n;
    char tmp[55];
    scanf("%d %s", &n, tmp);
    string s = tmp;
    int cnt = 0;
    for (int i = 0; i <= n - 7; i++) {
      if (s.substr(i, 7) == S) cnt++;
    }
    if (cnt >= 2) {
      printf("no\n");
      continue;
    }
    if (cnt == 1) {
      for (int i = 0; i < n; i++) {
        if (s[i] == '?') s[i] = 'z';
      }
      printf("yes\n");
      printf("%s\n", s.c_str());
      continue;
    }
    bool yes = false;
    for (int i = 0; i <= n - 7; i++) {
      bool flag = true;
      for (int j = i; j < i + 7; j++) {
        if (s[j] == '?') continue;
        if (s[j] != S[j - i]) {
          flag = false;
          break;
        }
      }
      if (!flag) continue;
      string tmps = s;
      tmps.replace(i, 7, S);
      cnt = 0;
      for (int j = 0; j <= n - 7; j++) {
        if (tmps.substr(j, 7) == S) cnt++;
      }
      if (cnt == 1) {
        yes = true;
        s.replace(i, 7, S);
        break;
      }
    }
    if (!yes) {
      printf("no\n");
      continue;
    }
    printf("yes\n");
    for (int i = 0; i < n; i++) {
      if (s[i] == '?')
        putchar('z');
      else
        putchar(s[i]);
    }
    putchar('\n');
  }
  return 0;
}
