N = int(input()) A = list(map(int, input().split())) win = 0 for a in A: if a > 1: win = 1 else: win ^= 1 if win: print("Alice") else: print("Bob")