N=int(input())*0 A=[int(x) for x in input().split()[1::2]] for a in A: N^=a print(["Alice","Bob"][N==0])