first = input() s = set() print('? '+first+first,flush=True) s.add(first) for _ in range(25): shiritori = input() print('? '+shiritori[3]+first,True)