print("?",input()*2) while True: judge=input().split() if judge[0]=="!": break print("?",judge[1][::-1])