N = int(input()) A = tuple(map(int, input().split())) print('Bob' if A[-1] == 1 else 'Alice')