#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
#include<string>
#include<vector>
using namespace std;
const int maxn=1000100;
const int INF=(1<<29);
int n;
string s;
vector<int> v;
bool ispalin(string s)
{
for(int i=0;i<s.length();i++){
if(s[i]!=s[n-1-i]) return false;
}
return true;
}
int main()
{
while(cin>>n>>s){
v.clear();
bool flag=0;
for(int i=0;i<n;i++){
if(s[i]==‘?‘){
s[i]=‘a‘;
v.push_back(i);
}
}
if(!ispalin(s)) cout<<s<<endl;
else{
for(int i=(int)v.size()-1;i>=0;i--){
if(v[i]!=n/2||n%2==0){
s[v[i]]=‘b‘;
flag=1;
break;
}
}
if(flag) cout<<s<<endl;
else cout<<"QwQ"<<endl;
}
}
return 0;
}