T=int(input()) for t in range(T): l=1e-6 r=12.22*1e74 for _ in range(24): mid=(l*r)**.5 print("?",mid) S=input() if S=="Yes": r=mid elif S=="No": l=mid else: exit() ans=l print("!",ans)