n = int(input()) a = list(map(int,input().split())) c = a[1] + a[2]*2 cnt = 0 for i in range(3,n): cnt += a[i] if c % 2 == 1: if cnt > 0: print("Bob") else: print("Alice") else: if cnt > 0: print("Alice") else: print("Bob")