t=int(input()) from decimal import * 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).exp() if f(m): l=m else: r=m print("! "+((l+r)/2).exp())