from collections import * from itertools import * from functools import cache, partial from pprint import pprint import sys from typing import Any, Final try: from icecream import ic except ImportError: # Graceful fallback if IceCream isn't installed. ic = lambda *a: None if not a else (a[0] if len(a) == 1 else a) # noqa debug = partial(print, file=sys.stderr) dpprint = partial(pprint, stream=sys.stderr) sys.setrecursionlimit(10**6) MOD = 998244353 alpha = input() # used = [False] * 26 print(f"? {alpha}{alpha}") for _ in range(25): _, query = input().split() char = query[1] # used[ord(char) - ord("a")] = True print(f"? {char}{alpha}")