#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); char c; cin >> c; cout << "? " << c << c << endl; string cmd, t; while(true){ cin >> cmd >> t; if(cmd[0] == '!') break; cout << "? " << t[1] << c << endl; } }