c = input() print(f'? {c}{c}') while 1: _, s = input().split() if s in ['WIN', 'LOSE']: break t = s[::-1] print(f'? {t}')