N = input() S = input() if int(S.replace("A", "0").replace("B", "1"), 2) % 3: print("Alice") else: print("Bob")