a = input() print("?",a+"a",flush=True) while True: f,t = input().split() if f=="!": break S = t[1]+"a" print("?",S,flush=True)