import sys import os sys.setrecursionlimit(100000) is_local = "TERM_PROGRAM" in os.environ input = sys.stdin.readline INF = float('inf') MOD = 998244353 def debug(*args, **kwargs): if is_local: print(*args, **kwargs) def I(): return input().rstrip() def IS(): return input().split() def II(): return int(input()) def IIS(): return map(int, input().split()) def LIIS(): return list(map(int, input().split())) def main(): q = II() for _ in range(q): n = II() va = LIIS() if len(va) % 2 or sum(va) % 2: print("Alice") else: print("Bob") if __name__ == "__main__": main()