N = int(input())

dp = True # True if Alice win
for a in reversed(input().split()):
	if a == '1':
		dp = not dp
	else:
		dp = True
print('Alice' if dp else 'Bob')