import sys input = lambda :sys.stdin.readline()[:-1] ni = lambda :int(input()) na = lambda :list(map(int,input().split())) sys.setrecursionlimit(10**7) yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES") no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO") ####################################################################### t = ni() from collections import deque,Counter for _ in range(t): n = ni() a = na() if n%2: print("Alice") continue c = Counter([i for i in a]) #print(c) b = 1 for j in c: if c[j]%2: print("Alice") b = 0 break if b: print("Bob")