T = int(input()) for _ in range(T): maxlim = 12.22e74 minlim = 10e-6 for _ in range(24): q = (maxlim*minlim) ** 0.5 print('?',q) a = input() if a == 'Yes': minlim = q elif a == 'No': maxlim = q else: exit() print('!',(maxlim*minlim) ** 0.5)