a = input() c = a while True: print(f"? {c}{a}") c = input()[3] if c == "I": break