t=int(input()) from decimal import * getcontext().prec = 1000 def f(x): print("? "+str(x)) return input()=="Yes" while t!=0: t-=1 cnt=24 l=Decimal(-20) r=Decimal(171) while cnt!=0: cnt-=1 m=((l+r)/2) if f(m.exp()): l=m else: r=m print("! "+((l+r)/2).exp())