s=input() S=set(list("qwertyuiopasdfghjklzxcvbnm")) while 1: for e in S: ans=s[-1]+e break S-={e} print("?",ans,flush=1) f,s=input().split() if f=="!": exit()