#include using namespace std; using ll = long long; using P = pair; #define fix(x) fixed << setprecision(x) #define asc(x) x, vector, greater #define rep(i, n) for(ll i = 0; i < n; i++) #define all(x) (x).begin(),(x).end() templatebool chmin(T&a, const T&b){if(a>b){a=b;return 1;}return 0;} templatebool chmax(T&a, const T&b){if(a> t; rep(houren,t){ int n; string s, ans, t = "helloworld"; ans = "{"; cin >> n >> s; rep(i,n-9){ string x = s; bool ok = true; rep(j,10){ if(s[i+j]=='?') x[i+j] = t[j]; if(x[i+j]!=t[j]) ok = false; } if(ok){ rep(i,n) if(x[i]=='?') x[i] = 'a'; chmin(ans,x); } } cout << (ans.size()==n?ans: "-1") << '\n'; } return 0; }