#include using namespace std; string x = "helloworld"; void solve() { int n; string s; cin >> n >> s; vector can; for (int i = n - (int) x.size(); i >= 0; i--) { string t = s; bool ok = true; for (int j = 0; j < (int) x.size(); j++) { if (t[i + j] != '?' && t[i + j] != x[j]) { ok = false; break; } else { t[i + j] = x[j]; } } if (ok) { for (auto&& c : t) { if (c == '?') { c = 'a'; } } cout << t << endl; return; } } cout << -1 << endl; return; } int main() { int t; cin >> t; while (t--) { solve(); } }