n,*a = map(int,open(0).read().split()) v = 1 while a and a[-1]==1: a.pop() v ^= 1 print("Alice" if v else "Bob")