n=int(input()) s=input() g=0 for i in range(len(s)): g+=(s[i]=="B")*pow(2,i,3) g%=3 print(["Bob","Alice"][g!=0])