N = int(input()) A = list(map(int,input().split())) players = ['Alice', 'Bob'] idx = 0 for a in A: if a != 1: idx ^= 1 print(players[idx])