import time N = int(input()) ans = "ABDA" print("!", ans) S = input()