#include <bits/stdc++.h>
using namespace std;
void fast() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
void solve() {
  long long int n;
  string s;
  cin >> n >> s;
  string a = "abacaba";
  bool flag = false;
  for (long long int i = 0; i + 6 < n; i++) {
    string temp = s;
    for (long long int j = 0; j < 7; j++) {
      if (temp[i + j] == '?') temp[i + j] = a[j];
    }
    for (auto& c : temp)
      if (c == '?') c = 'z';
    long long int cnt = 0;
    for (long long int j = 0; j + 6 < n; j++) {
      if (temp.substr(j, 7) == a) ++cnt;
    }
    if (cnt == 1) {
      flag = true;
      s = temp;
      break;
    }
  }
  if (flag) {
    cout << "Yes" << '\n' << s << '\n';
  } else {
    cout << "No" << '\n';
  }
}
int32_t main() {
  fast();
  long long int t;
  cin >> t;
  while (t--) {
    solve();
  }
}
