#include using namespace std; int main () { int N; cin >> N; string T('a', N); for (int i = 0; i < N; i ++) { int x; cout << "? " << T << endl; cin >> x; bool did = false; for (char j = 'b'; j < 'z'; j ++) { T[i] = j; cout << "? " << T << endl; int y; cin >> y; did = did || (x != y); if (x > y) { T[i] = 'a'; break; } else if (x < y) { break; } } if (!did) T[i] = 'z'; } cout << "! " << T << endl; return 0; }