#include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); char c; cin >> c; cout << "? " << c << c << endl; while(true){ char a,c2; cin >> a >> c2; if(a == '!') return 0; cout << "? " << c2 << c << endl; } }