#yuki1716 from collections import Counter t=int(input()) for i in range(t): n=int(input()) a=list(map(int,input().split())) c=Counter(a) for v in c.values(): if v%2: print('Alice') break else: print('Bob')