#include using namespace std; void solve() { using Re = double; auto ask = [&](Re y) -> bool { cout << "? " << y << endl; cout.flush(); string S; cin >> S; return S == "Yes"; }; auto ans = [&](Re x) -> void { cout << "! " << x << endl; cout.flush(); }; Re lo = 1e-6, hi = 1.222e75; for (int i = 0; i < 24; ++i) { Re mi = sqrt(lo * hi); if (ask(mi)) { lo = mi; } else { hi = mi; } } ans(sqrt(lo * hi)); } signed main() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << setprecision(15); int T; cin >> T; for (int i = 0; i < T; ++i) { solve(); } return 0; }