s = input() print("? {}".format(s+s)) for i in range(25): s2 = input().split()[1] print("? {}".format(s2[-1]+s))