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]) for j in c: if j%2: print("Bob") exit() print("Alice")