n=int(input()) a=[0]+list(map(int,input().split())) ans=0 for i in range(2,n+1): if i%2:continue ans^=a[i] print("Alice" if ans else "Bob")