alpha = input() S = 'abcdefghijklmnopqrstuvwxyz' print(f'? {alpha}{alpha}', flush=True) for _ in range(100): c, s = input().split() if c == '?': t = s[1] print(f"? {t}{alpha}", flush=True) else: exit()