N = int(input()) ll = list(map(int,input().split())) ll.pop(0) ans = 0 while ll and ll[-1] == 1: ll.pop() ans ^= 1 print('Alice' if ans == 0 else 'Bob')