#include <bits/stdc++.h>
using namespace std;
const long long N = 2e5 + 30, Mod = 1e9 + 7;
const long long SQ = 330;
string t = "abacaba";
long long get(string s) {
  long long cnt = 0;
  for (int i = 0; i <= s.size() - 7; i++) {
    cnt += (s.substr(i, 7) == t);
  }
  return cnt;
}
void solve() {
  long long n;
  cin >> n;
  string s;
  cin >> s;
  for (int i = 0; i <= s.size() - 7; i++) {
    string g = s;
    long long f = 1;
    for (int j = 0; j < 7; j++) {
      if (s[i + j] != '?' && t[j] != s[i + j]) {
        f = 0;
      }
      g[i + j] = t[j];
    }
    if (!f) continue;
    if (get(g) == 1) {
      for (int j = 0; j < g.size(); j++) {
        if (g[j] == '?') g[j] = 'd';
      }
      cout << "Yes\n" << g << '\n';
      return;
    }
  }
  cout << "No\n";
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  long long q;
  cin >> q;
  while (q--) solve();
}
