a=input() print("?",a) while True: s0,s1=input().split() if s1=="WIN": break a,b=s1 print("!",b+a)